Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Macro to hide or unhide columns

I have 12 columns for each month with various totals listed in rows. Between
each month I have columns for each day on the month. Those columns are
hidden for reporting and visual purposes. The monthly columns total of off
of the daily ones. Is there a way to create a macro that would work using a
short cut such as €œCtrl+1€ for January €œCtrl+2€ for February and so on that
would either hide the specified columns or unhide them.

Thanks,
Chance

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 339
Default Macro to hide or unhide columns


"Chance224" wrote in message
...
I have 12 columns for each month with various totals listed in rows.

Between
each month I have columns for each day on the month. Those columns are
hidden for reporting and visual purposes. The monthly columns total of

off
of the daily ones. Is there a way to create a macro that would work using

a
short cut such as ?oCtrl+1? for January ?oCtrl+2? for February and

so on that
would either hide the specified columns or unhide them.

Thanks,
Chance


You can easily record a macro that hides or unhides a column. I'm not sure
whethere it's a good idea to use a shortcut for each possible combination,
what would you use for November? Wouldn't it be better to basse the logic on
the current month or a value in a cell?

/Fredrik


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
Auto Hide-Unhide Columns with a macro Ed Excel Discussion (Misc queries) 0 March 8th 07 07:57 PM
Auto Hide-Unhide Columns with a macro Jim Thomlinson Excel Discussion (Misc queries) 1 March 8th 07 07:04 PM
Hide/Unhide columns using button on top over relevant columns [email protected] Excel Discussion (Misc queries) 1 March 7th 07 09:24 PM
Unhide and hide columns [email protected] Excel Worksheet Functions 1 October 23rd 06 07:16 PM
How do I hide or unhide zero value columns/rows USING A MACRO? paul Excel Discussion (Misc queries) 1 January 23rd 06 03:06 PM


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