Solved

Excel VBA Copying a range from another workbook and pasting into the current

Posted on 2013-11-20
2
353 Views
Last Modified: 2013-11-20
Hi

Does anyone have an example of copying a range from another workbook and pasting it into the current workbook?
0
Comment
Question by:murbro
2 Comments
 
LVL 18

Accepted Solution

by:
Richard Daneke earned 500 total points
ID: 39662225
Two files attached.  The CopyRange macro is in the Book1.xlsm workbook.  It copies a range from Book2.xlsx

Note:  2007 and newer Excel files with macros must be saved as Excel Macro-enabled or Excel will delete any macros contained in that file.
Book2.xlsx
Book1.xlsm
0
 

Author Closing Comment

by:murbro
ID: 39662227
Thanks very much
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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 …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question