Results 1 to 2 of 2
  1. #1
    corptkm is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    5

    Open .csv with fileDialog then TransferSpreadsheet

    I need to do the following..

    1. open .csv on server (Dialog box directly to the server drive S:?)


    2. transfer to one Access Table
    Export back to same server drive location in .xlsx format.

    What is the easiest way.

    Ive dont the fileDDialog but all I can do is select it. It needs to open the .cvs so I can transfer (Import) the data to a table before I export back to the sever in .xxlsx format.

    Thanks in advance

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You use the path from your file dialog to link or import the data. Here strPath is a path from a file dialog (I'm linking to it):

    DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel9, "ExcelWages", strPath, True
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 11-13-2014, 07:46 AM
  2. FileDialog pass starting Folder as a variable
    By bbrazeau in forum Programming
    Replies: 3
    Last Post: 09-13-2013, 07:23 AM
  3. FileDialog Question
    By uaguy3005 in forum Programming
    Replies: 5
    Last Post: 06-27-2012, 02:01 PM
  4. Using FileDialog to export to Excel
    By zapouk in forum Import/Export Data
    Replies: 2
    Last Post: 04-20-2012, 04:31 AM
  5. FileDialog
    By Tomfernandez1 in forum Programming
    Replies: 9
    Last Post: 04-13-2011, 03:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums