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: 62
Default display only columns A to I

I want users to be able to see only columns A to I. The following
code works in the worksheet_selectionchange() but I don't want it
to execute everytime users make a change on the sheet. If I put
the code in a module, no column is visible. The sheet is
completely blank. Any help?


Sheets("sheet1").Columns.Hidden = True
Sheets("sheet1").Columns("A:I").Hidden = false
Sheets("sheet1").Columns("A:I").Show
 
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
display columns alphabetically Grocer New Users to Excel 0 September 21st 09 06:51 PM
How can I group and display columns automatically? faraz316 Excel Worksheet Functions 3 June 30th 09 03:27 AM
Compare columns and display the value Raj Excel Discussion (Misc queries) 1 December 29th 08 09:49 AM
Scrolling columns display [email protected] Excel Programming 0 December 6th 05 11:38 AM
compare two columns and display a third ch90 Excel Discussion (Misc queries) 4 October 13th 05 12:56 PM


All times are GMT +1. The time now is 06:37 AM.

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

About Us

"It's about Microsoft Excel"