Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm using VBScript to open an excel workbook and get some values from the different worksheets. The problem is that one of the worksheets creates an "Unknown Runtime Error". The line on which the error arises is: strTotalDays = xlWB.Range("C22") After further investigation, it appears ANYTHING on this sheet seems to create an error. There is also a hidden spreadsheet just before that sheet - not sure if that has a problem. If I do the following: For each objTemp in xlWB.Worksheets msgbox objTemp.Name Next it will msgbox the names of all the sheets including the hidden sheet and excluding the sheet I want! Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Weird Excel 2003 macro problem | Excel Discussion (Misc queries) | |||
Excel 2007 Weird Image problem | Excel Discussion (Misc queries) | |||
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file | Excel Discussion (Misc queries) | |||
Weird Excel date formatting problem | New Users to Excel | |||
WEIRD Excel problem when saving.... | Excel Discussion (Misc queries) |