ACC2000: RunApp Macro Action Does Not Open MS Money ProperlyID: Q207650
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you use the RunApp macro action to open Microsoft Money version 4.0 or
5.0, the program does not open properly. The behavior varies depending on
the version of Microsoft Money that you are using.
This behavior occurs even if Microsoft Access is the only application open at the time that you run your macro. When you click OK in the error dialog box, Microsoft Money quits.Not enough memory is available. If you have several applications open at the same time, you might need to close one of them before you start Money.
If you are using Microsoft Windows NT and you start the Windows Task Manager, you see MSMONEY.EXE listed as a running process.Microsoft Money is already running.
If you are using Microsoft Money 4.0 or 5.0, you can use the Shell() function in a Visual Basic for Applications procedure in place of the RunApp macro action to open Microsoft Money. To do so, follow these steps:
Shell "C:\Program Files\Microsoft Money\msmoney.exe"
NOTE: The path to msmoney.exe on your computer may be different.
RunAppTest Actions
----------------------------
RunCode
Function Name: RunMoney()
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
RunAppTest Actions
-------------------------------------------------------------
RunApp
Command Line: C:\Program Files\Microsoft Money\msmoney.exe
However, if you try to use the Shell() function described in the "Resolution" section of this article, you receive the following error message:Microsoft Access can't invoke the application using the RunApp action.
The path to the application is invalid, or a component of the application is missing.
Check the path in Windows Explorer or File Manager.
Run-time error '53':
File not found
For more information about the Shell() function, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "Shell Function" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic.
Additional query words: won't will not start prb
Keywords : kbdta IntpOthr McrProb
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 13, 1999