phenomenix
Programmer
Problem: VBA / Microsoft Word / Address label printing / accessing the 'Number Down:' setting
I need to be able to access the "Number down:" setting in the Labels Options Details section using VB code.
The field I want to change can be found manually here:
Tools/Letters and Mailings/Envelopes and Labels/labels[tab]/Details/Number Down:
I tried recording a macro and changing that field to see how VBA handles it, but the field becomes unavailable if a macro is recording.
Anyone know how I can alter that field within my VBA code?
Here is the command I'm giving to print the label:
Application.MailingLabel.DefaultPrintBarCode = False
Application.MailingLabel.PrintOut Name:="AE (2x4)", Address:=line1$, _
ExtractAddress:=False, LaserTray:=wdPrinterUpperBin, SingleLabel:=False, _
PrintEPostageLabel:=False, Vertical:=False
But if I tell it to print more than one (say in a For Next loop) it FormFeeds between printings. I want to use a variable to set that field to tell it how many labels I want to print each time.
Any help is appreciated!
I need to be able to access the "Number down:" setting in the Labels Options Details section using VB code.
The field I want to change can be found manually here:
Tools/Letters and Mailings/Envelopes and Labels/labels[tab]/Details/Number Down:
I tried recording a macro and changing that field to see how VBA handles it, but the field becomes unavailable if a macro is recording.
Anyone know how I can alter that field within my VBA code?
Here is the command I'm giving to print the label:
Application.MailingLabel.DefaultPrintBarCode = False
Application.MailingLabel.PrintOut Name:="AE (2x4)", Address:=line1$, _
ExtractAddress:=False, LaserTray:=wdPrinterUpperBin, SingleLabel:=False, _
PrintEPostageLabel:=False, Vertical:=False
But if I tell it to print more than one (say in a For Next loop) it FormFeeds between printings. I want to use a variable to set that field to tell it how many labels I want to print each time.
Any help is appreciated!