Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does VB lock up when I use DoCmd.RunMacro "MyMacro"

Status
Not open for further replies.

jjjjjjj

Programmer
Nov 17, 2000
7
US
I am attempting to create a VB application that will run a Macro that I have created in an Access 97 database. My application can open the database fine but when I try to use DoCmd.RunMacro "MyMacro" it just locks up. I have tested the Macro and it works just fine if you run it within Access. Does anyone know why I can't seem to get this to work in VB?
 
Can you post the code?
Jim Lunde
compugeeks@hotmail.com
Custom Application Development
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top