Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number of copy in excel macro

Status
Not open for further replies.

wanau

IS-IT--Management
Mar 7, 2002
13
CA
Hi,

I created a macro to automaticaly print a print area. I would like to use a cell value for the number of copy in Excel macro.

How can I do that?

Regards,
 
something like
Code:
Nmbr = Range("a1").Value
ActiveWindow.SelectedSheets.PrintOut Copies:=Nmbr

[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ181-2886 before posting.
 
Tks, this process work fine but multiple spooled file is generated. So, if 5 copies was asked, 5 spolled files was generated instead on generate on spooled file.

Someone now how change this behavior?

The used printer is a Zebra Z4M Plus.

Regards,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top