Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print page
I've set my page breaks and want a button to print
ceratin pages. How do I write this in the vba editor? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print page
Hi
try something like sub foo() activesheet.printout from:=1, to:=3 end sub and assign a button to this. You can replace the 'from' and 'to' number with a variable -- Regards Frank Kabel Frankfurt, Germany Jez wrote: I've set my page breaks and want a button to print ceratin pages. How do I write this in the vba editor? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print page
Sheets(1).PrintOut
or Sheets("Sheet1").PrintOut or For x = 1 To 3 Sheets(x).PrintOut Next x - Piku -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do you print single page multiply times with increasing page . | Excel Worksheet Functions | |||
Setting the print area in page set up to print 1 page wide by 2 pages tall | Excel Discussion (Misc queries) | |||
PRINT PAGE BREAK VIEW AS WATERMARK FIOR EACH PAGE | Setting up and Configuration of Excel | |||
Active cell counting in particular print page (one sheet having different print area) | Excel Worksheet Functions | |||
How do I print a one page spreadsheet multiple time, each with its own page number? | Excel Discussion (Misc queries) |