Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Help with conditionally unhiding columns

I have a sheet that produces a list that is then featured on a load of
drop down's on another sheet - an available staff list.

On the sheet with the drop downs (in rows) I tabulate each staff members
hours in a column to the right.

Across the top of the columns I have each staff members name - and I
calculate their hours with formulae like this;

IF($B16=L$3,$AA16*$AB16) - where L$3 contains their name as a column
heading

I have 6 columns unhidden with fixed names and I have hidden 6 others for
use when their are more staff available.

I now want to automate the process of filling in the column headings -
this will also mean hidding, unhidding columns based on how many staff
are available and also filling in the names of available staff across the
unhidden columns and setting the headings on all hidden columns to
something like 'hidden' so they don't pick up any values.

So on the page with the names I have already managed to automate the
staff list by having a complete list and then requiring the user to place
a '1' in the cell next to each name that is available and finally
pressing a list button which produces the source for my drop downs

I am presuming I will use this same list to copy the names to the column
headings on the second sheet but I will also need to unhide the required
number of columns.

I know the code to hide or unhide a column but just need a little help
with the counting etc.

Any help appreciated.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Help with conditionally unhiding columns

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Isis" wrote in message
...
I have a sheet that produces a list that is then featured on a load of
drop down's on another sheet - an available staff list.

On the sheet with the drop downs (in rows) I tabulate each staff members
hours in a column to the right.

Across the top of the columns I have each staff members name - and I
calculate their hours with formulae like this;

IF($B16=L$3,$AA16*$AB16) - where L$3 contains their name as a column
heading

I have 6 columns unhidden with fixed names and I have hidden 6 others for
use when their are more staff available.

I now want to automate the process of filling in the column headings -
this will also mean hidding, unhidding columns based on how many staff
are available and also filling in the names of available staff across the
unhidden columns and setting the headings on all hidden columns to
something like 'hidden' so they don't pick up any values.

So on the page with the names I have already managed to automate the
staff list by having a complete list and then requiring the user to place
a '1' in the cell next to each name that is available and finally
pressing a list button which produces the source for my drop downs

I am presuming I will use this same list to copy the names to the column
headings on the second sheet but I will also need to unhide the required
number of columns.

I know the code to hide or unhide a column but just need a little help
with the counting etc.

Any help appreciated.

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
Unhiding Columns Garyw Excel Discussion (Misc queries) 4 July 10th 08 03:48 PM
Unhiding columns Anuj Excel Discussion (Misc queries) 7 May 18th 07 02:15 PM
Unhiding Columns in Error Big Andy D Excel Discussion (Misc queries) 4 August 4th 05 03:46 PM
Unhiding Columns RFJ Excel Discussion (Misc queries) 1 January 21st 05 10:28 AM
Unhiding columns jimmyp Excel Worksheet Functions 6 December 30th 04 08:31 PM


All times are GMT +1. The time now is 11:03 PM.

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"