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

Macro error 1

Status
Not open for further replies.

wysiwygGER01

Programmer
Joined
Feb 18, 2009
Messages
188
Location
AU
Hello,

I'm using Accpac 5.5 on an Windows Server 2008.
I've written a macro which runs fine if you open the Macro under Edit and run through it there.
When I try to link to it from within Accpac or try running it under Macro > Run from menu I get the following error message:
Macro did not run for unknown reason (Error code = 2147747134).

Would anyone know what the problem is?
 
Make sure the last statement is "Exit Sub", not "End
 
Thanks tuba. i've changed that now but still the same.
Wol dit have anything to do with having all my code in a form instead of a module?

I'm using a form for that macro.
 
thanks tuba,
done that now and it works!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top