Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

Copy a range of cells from one workbook to another

I have data in 2 different workbooks that I want to merge into a 3rd workbook
0
Specwood
Asked:
Specwood
1 Solution
 
SpecwoodAuthor Commented:
I want to copy a range of cells from 2 workbooks into a third
0
 
rspahitzCommented:
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
 
gowflowCommented:
do you want to do this via vba ? like you want a macro to do this ?
gowflow
0
 
Martin LissRetired ProgrammerCommented:
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now