+ Reply to Thread
Results 1 to 2 of 2

Reading data from one spreadsheet into another using VBA

  1. #1
    Registered User
    Join Date
    08-02-2015
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    37

    Reading data from one spreadsheet into another using VBA

    Hi all,

    I've used VBA for very simple tasks before so am familiar with the basics, but I'm trying to do something a little more complicated this time and I'm hoping for some pointers to get me started. Here's what I'm trying to do:

    I have an Excel workbook which acts as an auto-loader to another piece of software, and I have a number of other excel workbooks that contain data that needs to be fed into the autoloader in the correct format. Up to now, I've been doing this manually, but am trying to learn VBA so that I can automate the process and save myself a lot of time. I'm hoping to create a macro (linked to a command button) that will do the following:
    •open up the auto loader workbook
    •create a unique alpha-numeric identifier for each row of data to be read into the auto-loader
    •based on the headings within the auto-loader worksheet, pull the correct data from in the input worksheet through to the auto-loader.
    •when one row of data is complete, move on to the next row until all the data from the input worksheet has been loaded into the auto-loader worksheet.

    Things to note;

    1.There are multiple tabs within each input worksheet, and several of them need to be used to complete the auto-loader worksheet.
    2.There are some headings in the auto-loader that are calculated using formulae, or that need to filled in manually (e.g. start and end dates)

    If anyone could give me any pointers on where to begin with this, I would be extremely grateful.
    If what I have said is not clear then I will happily provide further detail

    Thanks in advance

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Reading data from one spreadsheet into another using VBA

    Hi VBANovice,

    Welcome to the Forum!

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Reading closed spreadsheet in as an array to check and append result to email subject
    By davepoth in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2015, 11:57 AM
  2. Replies: 0
    Last Post: 02-25-2015, 07:06 PM
  3. Another meter reading spreadsheet that needs help
    By danb1203 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-24-2014, 08:47 AM
  4. Reading Changing Data in a spreadsheet without constantly saving
    By Jason88888 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-25-2013, 04:23 PM
  5. [SOLVED] Reading chart attributes in VBA for a spreadsheet documenter tool
    By brynbaker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2013, 10:23 AM
  6. Pick the last reading and time of that reading
    By thmehr in forum Excel General
    Replies: 10
    Last Post: 03-22-2012, 07:56 PM
  7. Reading a range of values from a spreadsheet into a VBA array
    By Xtal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2007, 11:15 PM

Tags for this Thread

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