Global referencing.....I think.

S

spnz

Hi there I am hoping someone can help me out with a problem I am having.

I have been giving a job of upgrading some marcos & templates from 2000 into
2007.

The 2000 templates reference about 3 different documents...I have copied
over the templates into .dotm format but now they are not working.

How do I setup the reference between the different templates?

e.g. I have a document that is called ctConfig and there is a function saved
within the document called ComponentLabels.

I am trying to reference this function from another document but it is not
working....this is the example.

Private Sub btnTester_Click()

Call ShowHide(ctConFig.ComponentLabels)

End Sub

What do I need to do to enable the referencing between different templates??

Thanks for your help!
 
C

Cindy M.

Hi =?Utf-8?B?c3Bueg==?=,

Have you opened the macro of the template that's calling a macro in another
template in the VB Editor and used Tools/References to set a reference to that
template? The reference may have been broken in the conversion, or if the file
paths changed?
I have been giving a job of upgrading some marcos & templates from 2000 into
2007.

The 2000 templates reference about 3 different documents...I have copied
over the templates into .dotm format but now they are not working.

How do I setup the reference between the different templates?

e.g. I have a document that is called ctConfig and there is a function saved
within the document called ComponentLabels.

I am trying to reference this function from another document but it is not
working....this is the example.

Private Sub btnTester_Click()

Call ShowHide(ctConFig.ComponentLabels)

End Sub

What do I need to do to enable the referencing between different templates??

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top