I had a Word97 document with the following source for printing bar code labels. It works fine with Office97 but fails with Office2003 displaying the message;
[red]
Run-time error '5843':
One of the values passed to this method or property is out of range.
[/red]
[red]
Run-time error '5843':
One of the values passed to this method or property is out of range.
[/red]
Code:
Application.MailingLabel.DefaultPrintBarCode = False
Application.MailingLabel.CreateNewDocument Name:="A4 8 x 3 per sheet", Address:="", _
AutoText:="ToolsCreateLabels2"