How to Reference Controls from a global template?

W

wandererxp

How do I reference controls from a global template?

I'm currently trying to access them via TextBox1.text.
Dim dte As String
Dim dte1 As String

TextBox2.Text = dte
TextBox4.Text = dte1

Works fine when it works from within the template. Any time I move the
template to the Word Startup folder and create a New word document with
embedded controls I can not access them.

Thanks in Advance,

-SK
 
W

Word Heretic

G'day (e-mail address removed),

ActiveDocument.TextBox2...

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


(e-mail address removed) reckoned:
 

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