Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Select Case for Sorting / Grouping Columns

Hello:
I have a worksheet that contains data in columns. Above the column headers
I am adding three category rows. The categories are independent of each
other--not subcats of the other two. I am placing labels in the row-cells
that assign the category value to the column. My objective is to
programmatically create views based on either of these 3 categories.
Something like this:

In this region (which is the entire worksheet), if Row 1 says X, y, z:
hide these columns, hide rows 2 & 3
If Row 2 says x, y, z: unhide all, then hide these columns, hide rows 1 & 3
Etc.

It seems this would be easy to do with a case select. I'm recording it
manually in the meantime.

This should be fun for anyone out there with the time~
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default Select Case for Sorting / Grouping Columns

did you get this figured out yet?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Select Case for Sorting / Grouping Columns

Hi Chip: nope--haven't had any time to spend on it yet.

Also, to simplify and add clarity, this is what i will want to do:

Based on the values in any of R1-3C[any], unhide all columns; if necessary
hide rows 1-3; and hide column(s) a, b, c (or any of the gazillion columns).

Footnote: if i can do this with Rows 1-3 hidden, that would be good.
Otherwise will add in the code to unhide them at the beginning of the
routine.

I know it's a relatively simple thing to do....just am very rusty on
non-recorded vba such as Case Selects.

"Chip" wrote:

did you get this figured out yet?


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
Question on my Case of grouping the SW Blue Fish[_2_] Excel Worksheet Functions 1 September 5th 09 09:02 AM
Select all columns with data for sorting. jen907 Excel Discussion (Misc queries) 2 June 29th 09 08:06 PM
Case without Select Case error problem Ayo Excel Discussion (Misc queries) 2 May 16th 08 03:48 PM
Sorting multiple columns and maintaining grouping of information TPSKAM Excel Discussion (Misc queries) 2 December 13th 07 03:31 PM
Pivot tables and grouping words that are both upper and lower case Abdullah Excel Worksheet Functions 1 May 4th 07 08:45 PM


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