print zoom

G

geebee

hi,

i have the following:

ActiveWindow.SelectedSheets.PrintOut ActivePrinter:="printer"


i would like to know how i can add a zoom number in this statement. I tried
ActiveWindow.SelectedSheets.PageSetup.Zoom = 60
ActiveWindow.SelectedSheets.PrintOut ActivePrinter:="printer"

but to no avail.. could someone please help?

thanks in advance,
geebee
 
D

Dave Peterson

If you're only printing a single sheet:

with activesheet
.PageSetup.Zoom = 60
.PrintOut ActivePrinter:="printer"
end with

And that's the correct name for the activeprinter???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top