Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Hide colums based on a value in cell A1 (refered to the number in thefirst row of each column)

Hello everybody,

Can somebody help me out,


In Column B till.... in the first row a number is registered.
In cell A1 is shown a nr for which columns I have to show. All other columns till the last one has to be hide.

In Cell A1 I have a selectionbox with 0, 1, 2, 3, etc..

A1 B1 C1 D1 E1 E1 F1...... till last column
box 1 2 1 1 2 3

When select in Cell A1 the number 2 then exclusive column C and E all others (except the basis column A) should be hide (this should be an automatic action after selecting/changing the value in cell A1).

When click on (= activate) Cell A2 then automatic fill in cell A1 the number 0. This value means unhide everything automatic.

When select in Cell A1 the number 3 then exclusive column F all others (except the basis column A) should be hide.

When click on (= activate) Cell A2 then automatic fill in cell A1 the number 0. This value means unhide everything automatic.

regards,
Johan :)
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
how to hide a number of cells based on one cell? TG Excel Discussion (Misc queries) 11 June 26th 09 08:15 PM
Hide Column based on Cell Value tomic Excel Programming 2 June 23rd 08 11:45 AM
A basic Macro: going to a particular Worksheet and then selecting thefirst blank cell in column A Mike C[_5_] Excel Programming 2 February 25th 08 01:30 AM
Hide/Unhide column based on cell value DRK Excel Programming 2 August 8th 05 04:17 PM
Hide colums based on dropdown list mgronov - ExcelForums.com Excel Programming 4 October 6th 04 05:05 AM


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