+ Reply to Thread
Results 1 to 2 of 2

After Excel January 2023 update VBA Macro not working

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    After Excel January 2023 update VBA Macro not working

    I have an excel spreadsheet with lots of macro buttons. It's been working perfectly for years.
    I have recently updated excel (Jan 2023) and now the most important button is not working properly.
    I have spent days trying to fix it and am hoping that my findings/partial solution below can give someone a clue of what is the issue.

    1) When I load the file it does not work.
    2) I then open the code behind the macro button and change 1 thing. (Userform_Initialize to Userform_Activate)
    3) Then everything works fine, so I save the file
    4) When I re-open the newly saved file, I try and run the macro and the macro has the same problem.

    I am scratching my head over this. It seems like the only way to make the macro work is to edit the code of the original file every time I open it. But it doesn't work every time. I have to keep trying until it works.

    I have also noticed that when I do get the file to work, if I change the vba code back to it's original state, it works!

    I hope someone can help

    Thanks

    Tom

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: After Excel January 2023 update VBA Macro not working

    I'd suggest you put your workbook up as a first step to getting a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Update December Calender Sheet with January Days
    By xjohnson in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-19-2018, 08:10 AM
  2. VBA macro to update advanced filter not working
    By JTMartin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2017, 06:09 PM
  3. How to make year update not on January first
    By jackdu4 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-02-2017, 10:25 PM
  4. Trying to update an access table from Excel based on unique ID. rst.Update not working
    By Newbie0924 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2015, 04:15 PM
  5. Macro not working after update to excel 2013
    By eskodero in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-26-2014, 11:30 AM
  6. [SOLVED] Formula not working on 1st January 2014 ???
    By H28Sailor in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-01-2014, 10:07 PM
  7. Excel Macro DO/LOOP not working after cells update from another application
    By rodrigt in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2010, 05:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1