+ Reply to Thread
Results 1 to 2 of 2

Get data from workbook in folder and paste into opened workbook

  1. #1
    Forum Contributor
    Join Date
    10-03-2015
    Location
    North Carolina, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Get data from workbook in folder and paste into opened workbook

    Hi,

    I want a macro that gets data from columns A:B in a workbook that is located in a folder. I then want that data pasted in the open workbook in which I am working.

    The closed workbook is in a folder named "Currency", and the workbook is named, "StudyCurrency_Source". The data is on the first sheet in columns A:B. The path is:
    C:\Users\RuanoC\Desktop\Temp\Matthew\Currency

    I want columns A:B pasted into a sheet named "Currency" in the open workbook (it is the first worksheet in this workbook).

    I provided the path to the source workbook; however, I would prefer to use the Folder Picker method if possible.

    So as not to ask for help without providing anything with my request, please look at the macro below. It uses the folder picker method. I hope that somebody might be able to modify part of it to do what I am looking to achieve. I am a vba dummy, but I have attempted to separate the section of the code that I think needs to be modified with several comment marks above and below.

    Please Login or Register  to view this content.

    All help is much appreciated!

    Carlos

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Get data from workbook in folder and paste into opened workbook

    See if this modification will do what you want.

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Move the existing (opened) workbook to a new folder location
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2016, 04:31 PM
  2. Refresh table then paste that data into another tab when workbook is opened
    By cmorten82 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2016, 11:37 PM
  3. Use a macro to extract cell data from opened workbook to new opened workbook
    By BrianTFC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-26-2014, 01:35 PM
  4. How to Process all Excel Workbook in one Folder and Paste into a Master Workbook
    By jcook1100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2013, 06:16 AM
  5. VBA: Save workbook in same folder where it is opened.
    By sroysroy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2013, 11:51 PM
  6. [SOLVED] VBA Code open files in folder, copy text to workbook-Next time folder opened copy only new
    By Bikeman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-02-2013, 07:59 PM
  7. VBA button to store data from 1 workbook and paste it in another UN-opened workbook
    By mountaineerhughes in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-26-2012, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1