+ Reply to Thread
Results 1 to 11 of 11

Importing data from an excel file into workbook

  1. #1
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Importing data from an excel file into workbook

    I have a master excel product file on a ftp server that I open, copy all data and paste into my working workbook. I have tried to use the data connection options in Excel that seems to only import the header. Please can someone advise how I can get excel to automatically fetch the data from the ftp server when i open my workbook? Thanks.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Importing data from an excel file into workbook

    Instead of data connection options, have you tried From Other Sources under the Data tab? Click From Other Sources, then click From XML Data Import. You might have to change the file type to All Files to show the one you want then select it.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: Importing data from an excel file into workbook

    The other sources seem to work on a text file however I would like to open the excel file as it is. Any ideas?

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Importing data from an excel file into workbook

    It should work with an excel file, that is how I am using it. I have information from 4 excel files that are on a server that update to a master excel file every time it is opened. It copies formatting and the table.

  5. #5
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: Importing data from an excel file into workbook

    Managed to import it once although it had the F keys on each header. Forgot what i did. When importing and when it asks 'where do you want to put data? =$A$1'. What should this be if the sheet is called 'products'? Thanks.

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Importing data from an excel file into workbook

    If there is more than 1 sheet it should give you a list to select from. The =$A$1 will be the starting cell from the information to be started in, so if A1 is ok with you, then leave it as is.

  7. #7
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: Importing data from an excel file into workbook

    It imports but only the first row. Also each column has F1, F2 etc.. The sheets has over 5000 rows.

  8. #8
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Importing data from an excel file into workbook

    Ok, I'm not sure why that is happening. IT should just copy the entire sheet over as it is with formatting and everything.

  9. #9
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: Importing data from an excel file into workbook

    Just worked it out. I was deleting the contents of the sheet before importing. I left the data in and made the connection. Everything imported fine. Thanks for your help. San

  10. #10
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Importing data from an excel file into workbook

    No problem, glad it worked out for you.

  11. #11
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: Importing data from an excel file into workbook

    Sorry haven't done VB in over 20 years. I understand some lines. Can you explain what each line does?

+ 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] Importing CSV file into excel and manipulating data
    By jensenje in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2015, 12:20 PM
  2. Importing data ranges from an Excel file with VBA into a another excel file
    By Jay1357 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2013, 06:06 PM
  3. need help with importing data from another excel file
    By truebluesubaru in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2013, 06:29 AM
  4. Importing and Exporting data from workbook to workbook in excel
    By dans123 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-09-2012, 03:40 AM
  5. Importing data from one Excel file to another
    By Trainee in forum Excel General
    Replies: 1
    Last Post: 08-07-2009, 07:37 AM
  6. Importing data from other Excel file's last sheet
    By BudParker in forum Excel General
    Replies: 1
    Last Post: 02-08-2009, 02:01 PM
  7. importing data into excel from a text file
    By ace323 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-23-2007, 01:14 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