Recording a macro
-
Thursday, October 23, 2008 3:43 PMHiWhen i try to record a macro, i get the follwoing ErrorNo TemporaryMacro in designated Recording ProjectI get this for both VS 2005 and VS 2008 under vista both are ran as administrator.Thanks
Answers
-
Thursday, October 23, 2008 4:53 PMModerator
Sounds like your macros directory is messed up. Open Macro Explorer (View\Other Windows\Macro Explorer) and make sure you get the MyMacros element. If not then your directory is messed up.
The directory should be auto-created by VS when needed but if you happen to have changed anything like the path to the directory or permissions then it could fail. The default path is <My documents>\Visual Studio 2008\VSMacros80 but it is based upon your project directory (Tools\Options -> Projects and Solutions) so the path can vary. If necessary try creating the directory manually.
Once the directory exists go back into VS, open the MyMacros element and then try recording a macro. A new module should appear under the element.
Michael Taylor - 10/23/08
http://p3net.mvps.org- Marked As Answer by Trickyo Friday, October 24, 2008 11:17 AM
All Replies
-
Thursday, October 23, 2008 4:53 PMModerator
Sounds like your macros directory is messed up. Open Macro Explorer (View\Other Windows\Macro Explorer) and make sure you get the MyMacros element. If not then your directory is messed up.
The directory should be auto-created by VS when needed but if you happen to have changed anything like the path to the directory or permissions then it could fail. The default path is <My documents>\Visual Studio 2008\VSMacros80 but it is based upon your project directory (Tools\Options -> Projects and Solutions) so the path can vary. If necessary try creating the directory manually.
Once the directory exists go back into VS, open the MyMacros element and then try recording a macro. A new module should appear under the element.
Michael Taylor - 10/23/08
http://p3net.mvps.org- Marked As Answer by Trickyo Friday, October 24, 2008 11:17 AM
-
Friday, October 24, 2008 9:11 AMI already had the macros directory, so i tried deleting it and let VS recreate it.
All working now.
Thanks