Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Unhiding Rows

Hi Ruan:

Your first version should work fine unless the worksheets are protected. The
second version will not work as the syntax is incorrect.

Also, using the EntireRow property is unnecessary as the ranges are already
entire rows.

Regards,

Vasant.

"Ruan" wrote in message
...
Hello,

I am trying to unhide rows to 2 Worksheets, but without activating the 2nd
Worksheet. I have used both of the codes below, but get a the following
error
"Run-time error '1004'
Unable to set the hidden property of the range class"


' Unhide All Rows on the Worksheet
Worksheets("Billing1").Rows("1:1010").EntireRow.Hi dden = False
Worksheets("Billing2").Rows("1:1010").EntireRow.Hi dden = False

or

With Worksheets("Billing1") & Worksheets("Billing2").Rows("1:1010")
.EntireRow.Hidden = False
End With


What am I doing wrong?
Thanks
Ruan





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
hiding/unhiding rows Art Excel Worksheet Functions 1 March 16th 10 05:00 PM
Unhiding Rows Struggling of Essex Excel Discussion (Misc queries) 7 March 7th 10 12:53 PM
Unhiding rows John Excel Discussion (Misc queries) 1 February 11th 09 08:06 PM
Unhiding rows in Excel kthomas Excel Worksheet Functions 10 March 2nd 07 11:26 PM
unhiding rows automatically Mr. G. Excel Worksheet Functions 13 April 19th 05 04:26 PM


All times are GMT +1. The time now is 09:49 PM.

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"