Last post Feb 19, 2014 12:23 AM by Sergey Vlasov
Sep 06, 2010 10:14 AM|JAYHAWKER|LINK
I have them enabled in tools, can see the macros, run is an option, but nothing happens when I run them.
Sep 08, 2010 06:34 AM|XiaoCheng Fan - MSFT|LINK
Are you using Windows Vista or Windows 7, please check your UAC settings for running marcos.
Or you can try to run Visual Studio as Administrator.
I hope this can be helpful for you.
Sep 08, 2010 07:24 AM|JAYHAWKER|LINK
Am using Windows 7, and running as administrator.
Thanks for the reply!
Dec 04, 2013 11:14 AM|KrisTC|LINK
I had this problem too. After multiple attempts to fix it, looking at things like permissions etc.
I discovered it was a stupid mistake I made.
I had another macro in another module that didn't compile (I had semi-colons at the end of lines).
Even though I was running a macro in a different module it didn't seam to matter.
If you are having this problem an easy thing you can check is: look in the error list for any errors in your code. For a C++ or C# developer it's very easy to put semi-colons at the end of your lines out of habit.
Feb 18, 2014 01:54 PM|mbeiley|LINK
I am having the exact same problem, but in VS 2005. It just started recently. I've checked that Macros are enabled, and I have permissions. I'm running as an admin under Windows 7 with UAC turned off. I can't run any macro, not even any of the samples.
I also checked under "View / Error List..." and there are no errors or warnings. I've tried running any macro in debug mode, setting a breakpoint on the first line of code, and it never gets there. Any ideas on how to fix?
Feb 19, 2014 12:23 AM|Sergey Vlasov|LINK
The recent Windows Update broke macros in Visual Studio 2005-2010. See
this page for some additional information.