+ Reply to Thread
Results 1 to 3 of 3

Macro to update excel document with data from another excel document

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Red face Macro to update excel document with data from another excel document

    Hello, everyone.
    I am new to VBA and trying to automate some of the tasks that my fellow coworkers have to do. Currently, I need to load data into a excel worksheet with data retrieved from another. I think I am close but at my wits end. I'm sure the problem is some small thing I am missing. Here is how I want it to work - the user opens up a workbook form and will press F8 to execute the macro. The user will then choose the excel document with the data they want to load. All that is working fine - I just don't get any value back. Currently, I am currently just trying to get the value for one cell back. I'll add others after the macro is working. Below is my code. I'm sure it is not pretty to you experienced coders. Thank you in advance for your help.

    Please Login or Register  to view this content.

    Lynda
    Last edited by alansidman; 02-28-2014 at 02:57 PM. Reason: Code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Macro to update excel document with data from another excel document

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    09-19-2013
    Location
    Houston, Tx
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Macro to update excel document with data from another excel document

    I apologize. I will do that in the future. Thanks for your help.

    Lynda

+ 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. Replies: 0
    Last Post: 02-20-2013, 09:57 AM
  2. NOT update External Links when opening a word document via excel macro
    By debbie2852 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2013, 04:49 PM
  3. [SOLVED] Macro to compare rows in a document to data in second document and output missing data
    By sandmann in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-23-2012, 05:34 PM
  4. Macro to copy from a text document into excel document
    By JRoder in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-25-2012, 07:31 PM
  5. Help with a Macro to copy from a text document into excel document
    By JRoder in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2012, 07:41 PM

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