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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro on Desktop

Status
Not open for further replies.

AntonioPerera

Vendor
Jan 29, 2006
91
AU
ACCPAC 5.3 (All latest SPs)

I created a macro for AP Payments entry where we can print a remittance form (a crystal report) from the payment batch entry screen.

The macro works fine when I run it through VBA but when I place a macro on the desktop I get the following error message :

"Macro did not run for unknown reasons.(Error Code = 2147747072)"

Any possible reasons for this ?

 
Sorry, just a clarification.
When I mentioned "desktop" here I meant "ACCPAC desktop".
 
Add an error handler to the macro, you will get a better error message.
Also add a message box to the macro somewhere in the beginning, run the macro from the desktop, hit Ctrl-Break when the message box is displayed and Debug the macro. This will allow you to step thru the macro and see where it craps out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top