Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: How to Reference Controls from a global template?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How to Reference Controls from a global template?
wandererxp[ at ]gmail.com 03.03.2006 14:40:52
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

Re: How to Reference Controls from a global template?
Word Heretic <myfullname[ at ]iinet.net.au> 07.03.2006 15:39:00
G'day wandererxp[ at ]gmail.com,

ActiveDocument.TextBox2...

Steve Hudson - Word Heretic

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


wandererxp[ at ]gmail.com reckoned:

[Quoted Text]
>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

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net