Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Printing A Range

Is there a way to print this range without page set up

If [I55] 0 The
Range("A52:I67").Selec
ActiveSheet.PageSetup.PrintArea = "$A$52:$I$67
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=Tru
ActiveSheet.PageSetup.PrintArea = "
End If
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Printing A Range

Bob,
How about...

Range("A52:I67").Select
Selection.PrintOut

Regards,
Jim Cone
San Francisco, CA

"Bob" wrote in message
...
Is there a way to print this range without page set up.
If [I55] 0 Then
Range("A52:I67").Select
ActiveSheet.PageSetup.PrintArea = "$A$52:$I$67"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveSheet.PageSetup.PrintArea = ""
End If



Reply
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
Comparing to a range and printing value Alyssa M Excel Discussion (Misc queries) 4 February 25th 08 07:57 PM
Printing same spreadsheet range getting different output Brad Excel Discussion (Misc queries) 2 July 31st 07 01:52 PM
Printing a named range RheaS Excel Discussion (Misc queries) 1 June 27th 07 07:28 PM
printing only active range (changing) oz_saar Excel Discussion (Misc queries) 2 August 2nd 05 08:42 PM
Printing based on a value of a range Dave[_28_] Excel Programming 0 September 11th 03 04:34 PM


All times are GMT +1. The time now is 04:17 PM.

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"