![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hey!
What is the syntax in VBA for posting/ retrieving data from another open workbook? In this example I would like C:wba.xls to send the value from sheet1.range("A1") to C:wbb.xls sheet1.range("B1") Both workbooks are open... Thanks for the help! Tom [ This Message was edited by: TsTom on 2002-03-25 01:08 ] [ This Message was edited by: TsTom on 2002-03-25 01:27 ] |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Tom
Modify this to suit: Workbooks("Book5.xls").Sheets("Sheet1").Range("B1") = _ Sheet1.Range("A1") |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Thanks Dave
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|