+ Reply to Thread
Results 1 to 5 of 5

Browse for excel data files to import

  1. #1
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Browse for excel data files to import

    Hello,

    I have an Excel application.
    My user has many input files (all of them in the same format).
    I want to write a moudle which will :

    - open a file browser in which the user will select all the data files by once.
    - go over the selected files : open each file and copy data to one excel file.

    Can you help me or tell me where can I find an example to this task ?
    Thank you
    Last edited by Snoopy2003; 08-28-2010 at 07:48 AM.

  2. #2
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Re: Browse for excel data files to import

    Hello,

    If you can help me with the first part I'll be thankfull.

    I wish that after my sub will open file browser and after the user selects some files
    it will fill an array with files names/paths.

    Thank you for your help

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Browse for excel data files to import

    Here's some code that I use, you can test it & adapt it yourself. It will only copy data, not the header rows

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Re: Browse for excel data files to import

    Hello,

    Thank you for your help. It really hepled me.

    Thank you

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Browse for excel data files to import

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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