Solved

# Copy a range of cells from one workbook to another

Posted on 2014-01-09
125 Views
I have data in 2 different workbooks that I want to merge into a 3rd workbook
0
Question by:Specwood

Author Comment

ID: 39768428
I want to copy a range of cells from 2 workbooks into a third
0

LVL 22

Accepted Solution

rspahitz earned 500 total points
ID: 39768437
If all workbooks are open, you can create a formula to do this in the 3rd workbook.  Then you can copy/paste-special to save the data exclusively in the 3rd book.

e.g.
='[Workbook1.xlsx]Sheet5'!\$E\$1

This is simple to add.  In book 3, simply go to a desired cell and enter an "=" to start a formula.
Then go to the book that contains the data you want to put there and click that cell and press the enter key.
A reference to that data is now in book 3, ready to use as needed (as long as the original book is still open.)
From there, you can always apply the drag-copy features in excel the same way you would with any other formula.
0

LVL 29

Expert Comment

ID: 39773606
do you want to do this via vba ? like you want a macro to do this ?
gowflow
0

LVL 45

Expert Comment

ID: 40403739
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

## Featured Post

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …