Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
My print macro works if I run it from the sheet that I want to print, but if I am on another sheet, it appears to do nothing. I actually want a button on another sheet and want to print the sheet in question, without having to select that sheet first. My macro is below: Sub PrintAll() With Sheets("CoverSheet") For i = 1 To Range("D48") Range("N1").Value = i ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True Next i End With End Sub Any ideas? tia James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to hide rows with a certain cell empty then set print area and print | Excel Programming | |||
Print Macro Problem | Excel Discussion (Misc queries) | |||
Pivot Table macro to set print area and print details of drill down data | Excel Discussion (Misc queries) | |||
Create a print macro that would automatically select print area? | Excel Worksheet Functions | |||
Need Help w/ Print Macro to Print All Visible Sheets (including Charts) in a Workbook | Excel Programming |