Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
I'm trying to clear the contents and formatting in a hidden workbook called PSheet, I'm using the command ThisWorkbook.Sheets("PSheet").Cells.Clear The only problem is that the command will only work when the Sheet is unhidden AND active (i.e. the worksheet in the foreground). If the sheet The error message given is: Error 1004 Clear method of range class failed I have used other commands that use the ThisWorkbook.Sheets format and they all work OK. Any ideas would be appreciated. Thanks DarrenW |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting/Clearing duplicate range of cells | Excel Worksheet Functions | |||
Clearing cells without clearing formulas | Excel Discussion (Misc queries) | |||
ACCESSING A SHARED EXCEL 2003 WORKBOOK ISSUES WITH OFFICE 2007 | Excel Discussion (Misc queries) | |||
Using a Wildcard (*) in formula accessing sheets in workbook. | Excel Worksheet Functions | |||
Prevent Username Accessing Workbook | Setting up and Configuration of Excel |