msukow
asked on
Visual Basic "Error! AutoText Entry not defined" error
I have the following code:
.Range.Fields.Add(.Range, Microsoft.Office.Interop.W ord.WdFiel dType.wdFi eldEmpty, "AUTOTEXT ""Page X of Y"" ", True)
It worked correctly using Word 2002 SP3. However, when creating a Word document to Word 2007, "Error! AutoText Entry not defined" appears instead of "Page 1 of 8", for example.
.Range.Fields.Add(.Range, Microsoft.Office.Interop.W
It worked correctly using Word 2002 SP3. However, when creating a Word document to Word 2007, "Error! AutoText Entry not defined" appears instead of "Page 1 of 8", for example.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER