Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default Hide Columns When Printing

I would like help on how to view show columns when working on a worksheet,
but hide them when I print my worksheet. Can anyone help please?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Hide Columns When Printing

Try one of

Range(myRange).EntireColumn.Hidden = True
Range("B1").EntireColumn.Hidden = True
Columns("A:E").Hidden = True

Then one of
ActiveSheet.PrintOut
ActiveSheet.Print

Then the same line as above but with "=False"

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Hide Columns When Printing

See
http://www.rondebruin.nl/print.htm#Hide

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Heather" wrote in message ...
I would like help on how to view show columns when working on a worksheet,
but hide them when I print my worksheet. Can anyone help please?

Thanks!



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
hide columns before printing Jean-Paul De Winter Excel Discussion (Misc queries) 6 April 21st 10 11:22 AM
Want to Hide columns in spreadsheet but NOT hide data in chart. KrispyData Charts and Charting in Excel 1 March 20th 09 04:45 PM
Hide / Unhide columns for Printing Ripper Excel Discussion (Misc queries) 1 April 16th 08 10:43 PM
Hide/Unhide columns using button on top over relevant columns [email protected] Excel Discussion (Misc queries) 1 March 7th 07 09:24 PM
Excel button :: Filter columns by value - possible? Additionally, hide certain columns No Name Excel Programming 4 December 28th 04 07:44 PM


All times are GMT +1. The time now is 12:45 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"