Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
The following correctly runs through. Sub test() Dim WS As Worksheet Set WS = ActiveSheet WS.[_CodeName] = "MySheet" End Sub But, if I substitute the above three lines with either one of the following lines, it spitts out the error "Object Required." Why??? Worksheets("Book").[_CodeName] = "MySheet" ActiveSheet.[_CodeName] = "MySheet" Thanks for your time. --- Tetsuya Oguma, Sydney, Australia |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
About the usage of the function | Excel Worksheet Functions | |||
100% cpu usage | Excel Discussion (Misc queries) | |||
How to project usage. | Excel Worksheet Functions | |||
CPU Usage consistently above 75% | Excel Discussion (Misc queries) | |||
Command Usage | Excel Programming |