Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default macro to unhide row

If you want an hidden/unhidden macro, this will work.

Sub HideUnhideRow()
If Range("A1").EntireRow.Hidden = True Then Range("A1").EntireRow.Hidden =
False Else: Range("A1").EntireRow.Hidden = True
End Sub

May not be the best way, but gets the job done.
HTH,
Paul

"Benjamin" wrote in message
...
Could someone help me with some code to unhide the first row of a
worksheet?
Ideally I would like to attach to a button.

Thank You.



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
How do I unhide an excel 4.0 macro Ian Excel Discussion (Misc queries) 1 August 30th 08 06:19 AM
macro to unhide a sheet Bill_S Excel Discussion (Misc queries) 1 April 10th 08 05:27 PM
hide/unhide macro Matt Excel Discussion (Misc queries) 2 April 6th 06 07:24 PM
unhide sheet using macro David Berry Excel Programming 0 September 29th 03 06:39 PM
Hide/Unhide Macro bug Dave[_28_] Excel Programming 1 September 4th 03 06:26 PM


All times are GMT +1. The time now is 03:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"