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

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default macro to unhide row

Have you tried recording a macro while doing this manually

--
Don Guillett
SalesAid Software

"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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default macro to unhide row

I'll give that a try. Thanks.

"Don Guillett" wrote:

Have you tried recording a macro while doing this manually

--
Don Guillett
SalesAid Software

"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.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default macro to unhide row

Hi Benjamin

Sub test()
With Sheets("sheet1")
.Range("A1").EntireRow.Hidden = False
End With
End Sub

You can assign this macro to a Button from the Forms Toolbar if you want

--
Regards Ron de Bruin
http://www.rondebruin.nl


"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.



  #5   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 02:27 PM.

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"