This article was previously published under Q207650
Moderate: Requires basic macro, coding, and interoperability skills.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
1. | In the Database Window, click Modules under Objects, and then click New. |
2. | In the Visual Basic Editor, on the Insert menu, click Procedure. |
3. | Type RunMoney in the Name box, select Function under Type, and then click OK. |
4. | Type the following line of code in the created function:
NOTE: The path to msmoney.exe on your computer may be different.
|
5. | Save the module as ProgramFunctions. |
6. | Create the following new macro that uses the RunCode command, and save it as RunAppTest:RunAppTest Actions ---------------------------- RunCode Function Name: RunMoney() |
7. | Run the macro. |
1. | Open the sample database Northwind. |
2. | Create the following new macro that uses the RunApp command, and save it as RunAppTest:RunAppTest Actions ------------------------------------------------------------- RunApp Command Line: C:\Program Files\Microsoft Money\msmoney.exe |
3. | Run the macro. Note that you see the behavior described in the "Symptoms" section. |
Keywords: KB207650, kbprb