View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default One-click hide or unhide rows & columns

Only if you had your data grouped under DataGroup and Outline.

Otherwise CTRL + 9 hides selected rows.

CTRL + SHIFT + ( unhides rows

CTRL + 0 and CTRL + SHIFT + ) for columns

A one click faeture would be a toggle macro assigned to a button.

Sub togglethings()
Selection.EntireRow.Hidden = Not Selection.EntireRow.Hidden
' Selection.EntireColumn.Hidden = Not Selection.EntireColumn.Hidden
End Sub


Gord Dibben MS Excel MVP

On Sat, 22 Mar 2008 15:08:01 -0700, Togowa
wrote:

Is there a way to hide or unhide rows and colums with a one-click feature
like the plus or minus sign that opens folders in a directory?


 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.