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

running a module with no arguments from macro 1

Status
Not open for further replies.

blom0344

Technical User
Mar 20, 2002
3,441
NL
Can anyone point me to the solution how to RUN a module from a macro. The macro offers me the oppurtunity to open a module, but i want to run it, without opening it. (When i give a run command from within the module it does what i want it to do,, so the VBA is okay .....)
T. Blom
Information analyst
tbl@shimano-eu.com
 
Yeah,

I got as far as that, problem is the VBA contains just a subroutine, no function. And the RunCode option in the macro does not allow the calling of a subroutine.........................................................................................!!

Any other ideas?? T. Blom
Information analyst
tbl@shimano-eu.com
 
Hi mp,

Sometimes the solution is too obvious ,but you hit it right on the head. Changed to function and all is well...
A star for you............. T. Blom
Information analyst
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top