Share via

Excel 2016 mac VBA debug button does nothing

Anonymous
2016-12-16T19:12:36+00:00

Hi guys, I recently got a new Mac at work, had to install everything fresh, after installing Office 2016 and making sure to be up to date with all the latest updates when using the VBA editor, if an error occurs in the code I get the usual "Microsoft visual basic" popup screen with the two options "Abort" or "debug"  I have noticed that the "debug" option no longer works, no longer highlights the line of code that caused it to crash. Then I looked further and realized that I can no longer step through the code with breakpoints anymore, it ends at the first breakpoint and nothing happens when you press the next button. I have tried removing all of the Microsoft sweet and reinstalling several times.  Any ideas?

Running:

MacOS Sierra version10.12.2

Excel for mac version 15.29.1

Microsoft 365 and Office | Excel | For home | 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

15 answers

Sort by: Most helpful
  1. Anonymous
    2017-01-14T05:27:54+00:00

    Salute to you Gordon for being a Mac MVP. I admire and respect all MVPs but a lot more for you to persist with Mac.

    I tried for two months and then gave up. I installed VMWare and then Windows 10 only for MS Office.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-12-22T09:04:40+00:00

    Hi Ryan,

    Thanks for your updates.

    We will check with related team, and post back if there is any update.

    Thanks,

    Yoga

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-12-20T14:20:26+00:00

    Hi guys sorry for the delay, 

    You are correct with the exception of the run button. I can provide an example bellow. 

    The script above is designed to be very simple and show the issues, Obviously its going to overload the integer kicking back an error.  When I press run this works fine and I get the bellow error message as expected. 

    Here is where things get strange, when you click debug, it should highlight in yellow the line that overloaded the variable, instead the error message goes away but the VBE window stay exactly the same. 

    Next, i added a few lines for demonstration purposes. 

    When you run the script with breaks again only the run button responds, when the code hits a break it rests from the start instead of waiting at that break, therefore pressing the run button repeatedly, as shown above, will print the value 1 constantly, because only the code above the break is running. 

    Lastly, the buttons to the right do nothing at all, leaving no way to step through the code. 

    As I mentioned I have tried completely removing all Microsoft software and supporting files and reinstalling twice with no luck

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-12-19T23:54:17+00:00

    Hi Ryan,

    Any update?

    Regards,

    Tisky

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2016-12-17T11:18:07+00:00

    Hi Ryan,

    Based on your description, we’d like to confirm the information.

    Is clicking on these buttons makes no response? If so, please provide every detailed steps of your situation, some screenshots are appreciated.

    Regards,

    Tisky

    Was this answer helpful?

    0 comments No comments