B
Bill
I am trying to print a sequentially numbered document and have created the bookmark & macro referred to in other posts from the mvps site, http://word.mvps.org/FAQs/MacrosVBA/NumberDocs.htm, but I just get number 001 on each page. How can I get it to print 001, 002, 003, ect.? I copied and pasted the string, but something must be wrong. Help appreciated. Thanks Bil
Sub AutoNew(
Order = System.PrivateProfileString("C:\Settings.Txt",
"MacroSettings", "Order"
If Order = "" The
Order =
Els
Order = Order +
End I
System.PrivateProfileString("C:\Settings.txt", "MacroSettings",
"Order") = Orde
ActiveDocument.Bookmarks("Order").Range.InsertBefore Format(Order, "00#"
ActiveDocument.SaveAs FileName:="path" & Format(Order, "00#"
End Sub
Sub AutoNew(
Order = System.PrivateProfileString("C:\Settings.Txt",
"MacroSettings", "Order"
If Order = "" The
Order =
Els
Order = Order +
End I
System.PrivateProfileString("C:\Settings.txt", "MacroSettings",
"Order") = Orde
ActiveDocument.Bookmarks("Order").Range.InsertBefore Format(Order, "00#"
ActiveDocument.SaveAs FileName:="path" & Format(Order, "00#"
End Sub