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.
 
Top