![]() |
![]() |
|
|||||||
| 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: Apr 2002
Posts: 14
|
Hello All,
I have two workbooks open: WkBk1.xls and WkBk2.xls, with WkBk1.xls being the active window. I need to copy the value in Cell(4,4) of WkBk2.xls to Cell(3,3) in the active workbook, WkBk1.xls using a Macro. How can I do this most efficiently without activating WkBk2.xls? I need to keep the focus on WkBk1.xls all the time. I'd really appreciate any help on this. Thanks! Manish [ This Message was edited by: mangoel on 2002-05-22 11:05 ] [ This Message was edited by: mangoel on 2002-05-28 10:51 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: N.E. Ohio
Posts: 236
|
can you use a reference formula?
eg in wkbk1 d4 ='[wkbk2.xls]sheet1'!$c$3 |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: N.E. Ohio
Posts: 236
|
Of couse you could just turn off the screen updating in your macro before getting the data - Application.ScreenUpdating = False
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|