Count which there are most of, and do A:AF of that (false) in bulk, then do the others.Originally Posted by odggi
On a sheet you can CTRL+Select other columns, try recording a macro and doing that for the other (true) half.
hth
---
Count which there are most of, and do A:AF of that (false) in bulk, then do the others.Originally Posted by odggi
On a sheet you can CTRL+Select other columns, try recording a macro and doing that for the other (true) half.
hth
---
Hi
should look like the below
Range("C:C,E:E,G:G,I:I,K:K,M:M,O:O,Q:Q").Select
Selection.EntireColumn.Hidden = True
JR
Versions
Mac OS X 'Leopard'
Mac MS Office Excel 2004
Windows XP
MS Excel 2002
MS Excel 2003
Hi JR,
I've ended up with:
Range("A:A,C:F,I:L,P:V,X:X,Z:Z,AB:AE,AG:AG,AJ:AK,AN:AN....").EntireColumn.Hidden = False
Range("B:B,G:H,M:O,W:W,Y:Y,AA:AA,AF:AF,AH:AI,AL:AM...").EntireColumn.Hidden = True
This has reduced about 40 lines of coding to just 2, BRILLIANT.
You've been a great help, thanks, and thank you all for your contribution.
Odggi
Ah sorry......
I ment it should look something like this as in apperance not content![]()
My bad,
Originally Posted by odggi
would not disturb the natives so much and you would not need to amend the first setting when things change (except to set it to the most-right column).![]()
Application.ScreenUpdating = False Range("A:AZ").EntireColumn.Hidden = False Range("B:B,G:H,M:O,W:W,Y:Y,AA:AA,AF:AF,AH:AI,AL:AM...").EntireColumn.Hidden = True Application.ScreenUpdating = True
---
Last edited by Bryan Hessey; 09-30-2006 at 07:37 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks