+ Reply to Thread
Results 1 to 3 of 3

import multiple XER files into separate Excel Spreadsheets

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Washington DC
    MS-Off Ver
    Excel 2013
    Posts
    2

    import multiple XER files into separate Excel Spreadsheets

    Hi I am fairly new to VBA but have used it before for simple Macros. Currently, I am trying to adapt a macro to import multiple XER files into separate sheets in a new Excel workbook. (An XER file is an Oracle Primavera backup file that reads in Notebook like a .TXT but will not open directly in Excel)

    So far, I have managed to get the following code to work for a single import, but have not been able to adapt it to import multiple files. Each time I try to add multiple files in the getopenfilename dialogue I seem to get different errors.

    Ideally, the macro would import each XER file into a separate worksheet and each worksheet would be named the imported filename. Any help would be appreciated.

    Please Login or Register  to view this content.
    Last edited by Fotis1991; 01-20-2014 at 11:28 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: import multiple XER files into separate Excel Spreadsheets

    ...Sorry. Guess I didn't understand what code tags are (still don't) but I think this is what I was supposed to do the first time. Please let me know if I messed up again.
    At least you tried!! Look how i did that in your first post and pls next time to do it alone!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Washington DC
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: import multiple XER files into separate Excel Spreadsheets

    will do. Thanks.

+ 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] Import multiple csv files into current workbook as separate sheets
    By santosh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-31-2013, 04:19 AM
  2. Replies: 50
    Last Post: 02-12-2010, 01:35 PM
  3. Import/Sum/Multiple excel files
    By Pretty Tree in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2009, 10:26 AM
  4. Import Data from multiple spreadsheets into seperate spreadsheets worksheet
    By cablecrt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2008, 08:01 AM
  5. Import 2 text files into 2 separate columns?
    By tcurrier in forum Excel General
    Replies: 3
    Last Post: 02-11-2006, 03:13 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