Using textfield in a dot file

A

Alvin Hansen

Hi

Using this code
ThisDocument.Navn = TextBox1.Text

Working but if i save my document as a dot file and then create a new document
from this dot file then
ThisDocument.Navn = TextBox1.Text dosn't work Why??

Best regards alvin
 
T

Tony Jollans

I'm not entirely sure what 'doesn't work', but ThisDocument refers to the
template containing the code - not to a document based on it.
 

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