Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA worksheet references
VBA doesn't seem to like when I use the following code:
Workbooks("mybook").Sheet1.Range("A1").Value = 100 However, the code seems to work when I remove the part that says: Workbooks("mybook"). How can I fix this reference so that I am able to use my VBA "Sheet1" reference and specify the workbook at the same time? thank u |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
3-D worksheet references? | Excel Discussion (Misc queries) | |||
Replicating worksheet references | Excel Worksheet Functions | |||
worksheet references | Excel Discussion (Misc queries) | |||
Cell References from old worksheet to new worksheet. | Excel Discussion (Misc queries) | |||
Worksheet references another tab in formula | Excel Worksheet Functions |