+ Reply to Thread
Results 1 to 2 of 2

msoFileDialogFilePicker read multiple files into seperate tables

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    41

    msoFileDialogFilePicker read multiple files into seperate tables

    I am trying to use msoFileDialogFilePicker to select 2 excel files. I want to open each file and read the first row of the file into its own access table. It works fine for one file but when I have 2 files it only reads data from the one file.


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644
    Why are you opening the files in Excel?

    Couldn't you just import them to temporary tables using TransferSpreadsheet?

    Then you could run append queries to add data from the temporary files to the tables you've created.
    If posting code please use code tags, see here.

+ 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. Read multiple text files into a Spreadsheet
    By fatti in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2012, 10:13 AM
  2. Delete rows in multiple files using criteria in a seperate workbook
    By ian.cook in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2012, 07:59 AM
  3. Read Multiple Text Files to ListBox
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2012, 02:31 PM
  4. Replies: 4
    Last Post: 05-14-2007, 02:48 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