Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The question in your previous thread was resolved when you noticed that the
extension wasn't .xls, it was .xlsm (or .xlsx). Look to see if that continues to be a problem for you. uk wrote: the data.xls workbook is open the name is correct there are no rogue spaces in the workbook name "Mike H" wrote: Hi, That would happen if you didn't have an open workbook called data.xls Are you sure the name is correct? Are there any rogue spaces in the workbook name? Mike uk" wrote: i get the message wheh i try to run this Private Sub Workbook_BeforeClose(Cancel As Boolean) Workbooks("DATA.XLS").Close SaveChanges:=False End Sub -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error:Subscript out of range | Excel Discussion (Misc queries) | |||
subscript out of range error in excell | Excel Discussion (Misc queries) | |||
Run Time Error 9 (Subscript out of Range) for XLA file | Excel Discussion (Misc queries) | |||
Subscript out of range error | Excel Discussion (Misc queries) | |||
Run time error 9 : Subscript out of range | Excel Discussion (Misc queries) |