Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I unhide an excel 4.0 macro | Excel Discussion (Misc queries) | |||
macro to unhide a sheet | Excel Discussion (Misc queries) | |||
hide/unhide macro | Excel Discussion (Misc queries) | |||
unhide sheet using macro | Excel Programming | |||
Hide/Unhide Macro bug | Excel Programming |