View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scafidel Scafidel is offline
external usenet poster
 
Posts: 26
Default Activex command to Hide/Unhide

I want a toggle button to Hide several rows of Nonessential information. I
can get it to hide the rows, but not unhide or unhide but not hide, but not
both. This is my first try with Activex. I am using this:
Private Sub ToggleButton1_Click()
Worksheets ("34-01") .Rows ("45:200") .Hidden = True
End Sub

That will hide the rows, but I have yet to come up with a command to toggle
hide/unhide.
Thanks
Scafidel