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!

Reference Templates

Status
Not open for further replies.

smartrider

Programmer
Apr 18, 2003
21
US
Hello : -

I have two templates - Temp1 and Temp2

Under Temp1 Module - i have a sub LaodAuthor.

I want to call that module from Temp2.

I initially had temp1 in Normal but decided to have it seprately.

Can anyone please help me - about how to run LoadAuthor from Temp2 ?


Thanks.
 
I believe you will have to open Temp 1 in order to call the LoadAuthor from Temp2. Once you have a reference to Temp1 you can call it using the Run command.

HTH


Leslie
landrews@metrocourt.state.nm.us

There are 10 types of people in the world -
those who understand binary
and
those who don't!
 
Perhaps you have to declare that subprocedure as Public as in
Public Sub LoadAurthor
...

then I guess you can access that sub from anywhere
 
Assuming you mean that these are seperate modules in the same file, just refer to it with DOT notation:

Temp1.LoadAuthor

If these are modules in seperate files, both files will have to be open and you'll probably have to refer to the file as well. As in:

MyFile.Temp1.LoadAuthor

calculus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top