+ Reply to Thread
Results 1 to 2 of 2

Working with DoCmd.Outputto

  1. #1
    Registered User
    Join Date
    02-07-2014
    Location
    Chicago, Illinois
    MS-Off Ver
    2013
    Posts
    21

    Working with DoCmd.Outputto

    Hi all,

    I'll spare you the long version of what I'm building, I have most if all of that working to spec. I know how to use the docmd.outputto without specifying a save to location in order to prompt the user to select a location and file name...what I don't know how to do is save that name and path so I can call it later in the function to do some manipulation on the output excel file. Is it even possible to do what I'm asking, or do I need to revisit hard coding in the file path and name?

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Working with DoCmd.Outputto

    I keep my path in a table tConfig.
    The app uses this and can be changed by user if needed...

    vPath = Dlookup("[SavePath]","tConfig")

+ 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. DoCmd.TransferSpreadsheet not Exporting to Excel
    By jeversf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2015, 01:17 AM
  2. Outputto Function in Access
    By aeewing in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2014, 04:30 PM
  3. DoCmd.TransferSpreadsheet-Range and Filename problem
    By mazatlanmexico in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2007, 07:22 PM
  4. Delete Worksheets Prior To Access DoCmd.TransferSpreadsheet
    By wheatcracker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2006, 08:18 PM
  5. how to format a Docmd to pull in an Access file in Text format
    By Campbellj4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 12:22 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