LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Newbie he I have a question about a print macro I am trying to write...


Essentially what I am trying to do is create a print macro that will
print selected sheets from a massive group of worksheets. I have
created the following macro which works however, this requires me to
name print areas for each specific category, which has a number of
sheets associated to it. I am sure there is an easier way to go about
this rather than Naming print areas for thousands of sheets.



Sub Macro37()
Application.Goto Reference:="Consolidated_2006_Actual"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Consolidated_2006_Budget"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Consolidated_2005_Actual"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Consolidated_TTM"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Consolidated_Rolling_Actuals"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Consolidated_NOI_Valuations"
ActiveSheet.PageSetup.PrintArea = Selection.Address
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Application.Goto Reference:="Print_Directory"
End Sub


Any help would be appreciated!! Thanks!!

KYABA

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Macro Question rich Excel Discussion (Misc queries) 1 August 23rd 07 07:15 PM
Print Question Newbie Please help Thomas R Grassi Jr New Users to Excel 2 November 14th 06 02:16 AM
Newbie seeks suggestion on recording new macro to print sheets Vivian New Users to Excel 2 May 10th 06 06:53 AM
How to write a macro to print a dir on my c drive Tony Excel Programming 2 May 28th 05 11:54 PM
Total newbie question involving pasting someone else's Macro Tibbs[_2_] Excel Programming 2 November 1st 04 06:46 PM


All times are GMT +1. The time now is 07:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"