VBA worksheet references
I wanted to avoid using the Worksheets("Sheet1") method
because this references the string name on the sheet tab.
Therefore, if a user renames "Sheet1" on the tab to something
else, then your code below will NOT work.
If you want to refer to first sheet on your workbook, without
referring to the string on the tab, you can use the code below:
Sheet1.Range("A1").Value = 100
How would you specificy a workbook using this notation above??
"J_Knowles" wrote in message
...
Workbooks("mybook.xls").Worksheets("Sheet1").Range ("A1").Value = 100
|