Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have pairs of columns representing Mgmt. and Non-Mgmt. Hours for each month
of 2007 and 2008, starting in column J. For example, columns P and Q contain the hours for Mgmt. and Non-Mgmt for April 2007, respectively. I also have a drop-down list box where a user can select the Last-Month/Year of data they want to see. The choices displayed in the drop-down list box come from a 1-column range called Choices_End_Period. I would like to write a macro that automatically hides the columns of data beyond the Last-Month/Year that was selected. For example, if a user selects June 2007, columns V €“ BE would automatically be hidden. However, if a user changed their mind and selected October 2008, columns V €“ BA would automatically be unhidden, but columns BB €“ BE would remain hidden. Etc. Since I am a novice when it comes to writing VBA code, I would greatly appreciate any help. Thanks, Bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hiding Worksheets and Unhiding them easily for Novice User | Excel Discussion (Misc queries) | |||
Hiding worksheets based on user selection | Excel Worksheet Functions | |||
Hiding/Unhiding Columns | Excel Worksheet Functions | |||
Need help hiding/unhiding column based on autofilter selection in a different column | Excel Programming | |||
Hiding columns based on user/password | Excel Worksheet Functions |