Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Karen,
Does the strsheetname value have the ".xls" extension? It should if it doesn't. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com (email address is on the web site) "KarenH" wrote in message ... Why would I get a "subscript out of range" error on the following? ? workbooks(strsheetname).Sheets.Count This is within a procedure where strsheetName is a string variable passed in that is the name of the workbook. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula referring to a worksheet | Excel Worksheet Functions | |||
Referring to a Worksheet with a variable | Excel Programming | |||
referring a worksheet | Excel Worksheet Functions | |||
referring to other worksheet | Excel Worksheet Functions | |||
Referring to a worksheet using variable | Excel Programming |