Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When I refer to cells through VBA usually I use the
following syntax without including the .xls extension: Workbooks("myworkbook").Worksheets("mysheet").cell s(1,1) Two times I have gotten an error that I was able to resolve by adding in the .xls extension to all of my references. Workbooks("myworkbook.xls").Worksheets("mysheet"). cells (1,1) One time it was on my computer that had run that particular macro and file many times before. Today a coworker had a problem running another macro that I and several other of my coworkers had no problems running. I know that I could go into all my macros and add in the .xls extension but I would still like to understand what is causing this. Does anyone know why? Is it a setting within excel or something that another file that may be open is causing? thanks, Murray Williams |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Index and References within a workbook | Excel Worksheet Functions | |||
workbook references | Excel Worksheet Functions | |||
External Workbook References and Functions | Excel Discussion (Misc queries) | |||
Relative workbook references? | Excel Worksheet Functions | |||
Question for Experts: Opening workbook with workbook references | Excel Programming |