unhide a row in a worksheet using vba

R

Roxy

I have a command button that has this code already

Private Sub CommandButton1_Click()
Worksheets("Extra Earned Income Methd 1").Visible = True
End Sub

I would like to add an unhide of row 5 on sheet family totals.

Thanks
Roxy
 
G

Gord Dibben

Sub CommandButton1_Click()
Worksheets("Extra Earned Income Methd 1").Visible = True
Worksheets("family totals").Range("A5").EntireRow.Hidden = False
End Sub



Gord Dibben MS Excel MVP
 
R

Roxy

Your AWESOME! This works perffectly! Thank you so very much, have a
wonderful day!!

~Roxy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top