Khalil
With VBA you can copy from a closed workbook.
Couple of methods at Ron de Bruin's site.
http://www.rondebruin.nl/tips.htm
Browse down to Copy/paste/merge examples.
Gord Dibben MS Excel MVP
Is there a way without opening the first book?
I tried to type the formuls:
=[Book2.xls]Sheet2!B3
And has a windows asking for a file name which is the name and location of
the second book (to copy from).
Is there another way? Using VBA or what ever?
The easiest way to derive the formula is to open Book2 as well as
Book1 and arrange the windows so that you can see both on screen. Then
with the cursor in W7 of Sheet3 in Book1, type the equals sign then
click on the window for Book2, select Sheet2 then click in cell B3
then press <Enter>. In W7 you should see the formula:
=[Book2.xls]Sheet2!B3
However, if you now close Book2, then the part of the formula within
square brackets will expand to include the full path, so that you
don't need to type this all yourself.
Hope this helps.
Pete
Hi,
I am at the address W7 in Bok1 in Sheet3.
I need to copy the contents of Cell B3 in Sheet2 in Book2 where Book1
and
Book2 are in the same folder.
What formula is needed to be typed in cell W7?
thanks- Hide quoted text -