Unhide

R

Roxy

I have this code

Sheets("Family Totals").Rows(5).Select
Selection.EntireRow.Hidden = False
Sheets("Extra Earned Income Methd 1").Select

I get the runtime error 1004 select method of range class failed
Can someone help me figure this out?
Thanks
Roxy
 
D

Dave Peterson

You can only select a range on a sheet that is active:

Sheets("family totals").select
Sheets("Family Totals").Rows(5).Select
Selection.EntireRow.Hidden = False

But you don't need to select at all:
Sheets("Family Totals").Rows(5).Hidden = False
 

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