Solved

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

Posted on 2013-11-20
2
338 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now