![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Bristol, England
Posts: 39
|
I want to ref a workbook, and have 2 open. how can i ref the workbook which started the macro, so that i use the data from the right one?
help pls! |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Brampton
Posts: 324
|
Use either Workbooks or Windows property, for eg. Workbooks("MyBook") or Windows("MyBook").
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|