Solved

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

Posted on 2013-11-20
2
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

752 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