Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there something wrong with this?
I keep getting an error and the debugger takes me to this line:
Sheets("Checklist").Rows("3:42").EntireRow.Hidden = True The error is this: "Unable to set the Hidden property of the Range class" What am I missing here? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there something wrong with this?
The line of code works.
Might be a protection problem or a spelling problem with the tab name. -- Gary''s Student - gsnu200806 "Solution4U" wrote: I keep getting an error and the debugger takes me to this line: Sheets("Checklist").Rows("3:42").EntireRow.Hidden = True The error is this: "Unable to set the Hidden property of the Range class" What am I missing here? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is there something wrong with this?
Another thing on top of Gary's suggestion is the worksheet may be in another
workbook? if so you will have to "Workbooks("MyOtherBook").activate if its open. -- Regards, The Code Cage Team www.thecodecage.com/forumz "Gary''s Student" wrote: The line of code works. Might be a protection problem or a spelling problem with the tab name. -- Gary''s Student - gsnu200806 "Solution4U" wrote: I keep getting an error and the debugger takes me to this line: Sheets("Checklist").Rows("3:42").EntireRow.Hidden = True The error is this: "Unable to set the Hidden property of the Range class" What am I missing here? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert Calculated Field (wrong Qty*Price = wrong Amount) | Excel Discussion (Misc queries) | |||
not sure what is wrong | Excel Worksheet Functions | |||
Where am I going wrong? | Excel Programming | |||
What am I doing wrong? | Excel Programming | |||
What is wrong?? | Excel Programming |