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

Similar Threads

Unhide 2
Command Button Click Help 8
Unhide a row 1
Command button unhides but not hides 1
VBA to hide a row in different worksheet 2
macro to unhide a sheet 1
dropdown unhide sheet 3
Macro "on off" switch 3

Top