Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Unhide
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 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Unhide
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 Roxy wrote: 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 -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Unhide
Good deal, I will try this. Thanks for the speedy reply.
Have a good day! ~Roxy "Dave Peterson" wrote: 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 Roxy wrote: 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 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
row won't unhide | Excel Discussion (Misc queries) | |||
Unhide column - why doesn't click unhide column work? | Excel Discussion (Misc queries) | |||
Trying to unhide A-K | Excel Discussion (Misc queries) | |||
how do i unhide a worksheet in excel 2003? unhide tab don't work | Excel Discussion (Misc queries) | |||
How do I unhide a column when format/column/unhide won't work | Excel Worksheet Functions |