#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
row won't unhide terie Excel Discussion (Misc queries) 5 April 4th 23 10:20 AM
Unhide column - why doesn't click unhide column work? H Stevens Excel Discussion (Misc queries) 1 November 15th 07 12:36 AM
Trying to unhide A-K srdowning Excel Discussion (Misc queries) 10 October 5th 06 06:31 PM
how do i unhide a worksheet in excel 2003? unhide tab don't work mikekeat Excel Discussion (Misc queries) 2 March 6th 06 03:36 AM
How do I unhide a column when format/column/unhide won't work lincolnblaze Excel Worksheet Functions 1 December 14th 05 03:38 AM


All times are GMT +1. The time now is 05:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"