![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: John G
Posts: 62
|
Is there a way to make all but lets say range("A1:L33") hidden on worksheet?
John |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
You could hide rows 34:65536 and columns M:IV too.
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
The following should work OK if you want to do it in VBA: -
Dim ColsToHide As Range Dim RowsToHide As Range Application.ScreenUpdating = False Set ColsToHide = Range("M:IV") Set RowsToHide = Range("A34:A65536") ColsToHide.EntireColumn.Hidden = True RowsToHide.EntireRow.Hidden = True Application.ScreenUpdating = True |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|