Solved

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

Posted on 2013-11-20
2
348 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

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 …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

809 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