+ Reply to Thread
Results 1 to 3 of 3

Populate file path and file name in save as dialog box using text in worksheet

  1. #1
    Registered User
    Join Date
    04-12-2016
    Location
    Oklahoma, USA
    MS-Off Ver
    Office 2007-2010
    Posts
    30

    Populate file path and file name in save as dialog box using text in worksheet

    I need a macro that can copy the current date into cell A1. It should then bring up a Save As dialog box with a folder's file path location (bar along the top) copied from the text in cell A2. The Save As box should also have the desired file name read in from cell A3.

    Also, it would be helpful if the current date could not be copied to cell A1 if the user selects "cancel" in the Save As box. However, the main thing is bringing the file path and file name into the dialog box.

    Currently, I am able to bring in the current date using the following code but am having trouble with the Save As component.

    Please Login or Register  to view this content.
    Any thoughts?

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

    Re: Populate file path and file name in save as dialog box using text in worksheet

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-12-2016
    Location
    Oklahoma, USA
    MS-Off Ver
    Office 2007-2010
    Posts
    30

    Re: Populate file path and file name in save as dialog box using text in worksheet

    Thanks for the help!

+ 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. Change file path in Save As dialog box
    By LukeTempleton in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2016, 04:14 PM
  2. Auto save IE file download dialog box in a user defined path
    By sugaprasad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-27-2014, 05:21 AM
  3. VBA to save worksheet with a prefined file path and file name
    By KRUDA79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2014, 08:27 AM
  4. Replies: 0
    Last Post: 01-27-2013, 12:13 PM
  5. [SOLVED] Save As Dialog Box - Default Path and File Name, User Selects Sub Folder from Default Path
    By christenprochaska in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 05:17 PM
  6. Macros To Save Worksheet as New xlsx file & Save Another Worksheet As A Text File
    By KeithT in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-16-2011, 05:13 PM
  7. VBA Changing a fixed file path with open file dialog box
    By Dan27 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2011, 08:54 AM

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