Issues with VBA after upgrading to Version 2311 (Build 17029.20108)

Anonymous
2023-12-18T11:06:31+00:00

Hi, after updating to Version 2311 (Build 17029.20108), we face seriously many issues with our Excel Macro solutions. Something we have never seen before (or at least not for a long period of time). Even things like standard commands like thisworkbook fail. We had to change to 'Monthly Enterprise Channel 2310', which fixed the issue.

Also, it happens on different computers, with different workbooks, so it's not a question about reinstall Excel or something like that.

Btw. We have been working with Macros as our Core business for more than 8 years, and have millions of lines of code. So we normally know what we do.

Is there other people in here which get the same kind of errors with VBA using this version?

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2024-01-10T18:50:07+00:00

All our issue was fixed by rolling back from Version 2311 (Build 17029.20108) to Version 2310 (Build 16924.20180).

We had all kind of weird issue with this Version 2311 (Build 17029.20108).

Was this answer helpful?

6 people found this answer helpful.
0 comments No comments

157 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-02-13T11:10:21+00:00

    "But only for a period of time" are the key words here. I have three laptops sharing all word setup files (relocated to Dropbox) and working on the same data files. The three PC are all of different age and power; and run a mix of win 10 and 11. All three started to suffer from problems early February. The problem with writing needed different delays depending on the speed of the cpu. (The fastest never exhibited that particular problem) Ican well imagine that recompiling cleans up the code enough to speed up the process to avoid the timing problem until enough garbage is collected again. 0.2 sec was enough for the fastest (lower limit never tested), 0.4 fixed the medium one, but 0.5 was needed for the slowest.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-02-13T11:00:29+00:00

    Exactly this. At least it gets you access to it but isn't permanent

    I've certianly been having fewer crashes with the current version. I had just 1 last week. It was 2 or 3 per day before that

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-02-13T10:01:05+00:00

    Yes, in this version of Excel, the quick fix is to move the file to an untrusted folder, so macros are not enabled in the first place. Before enabling the macros, you need to press F11 and compile the VBA project. Then, save the file and open it again in a folder that is trusted. This fixes the bugs in many cases but only for a period of time.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-02-13T09:05:00+00:00

    I have some routines that don't always execute properly, but I'm not prepared yet to blame VBA for that. I have had no office crashes.

    Was this answer helpful?

    0 comments No comments