+ Reply to Thread
Results 1 to 2 of 2

save ".msg" file to selected location on harddrive

  1. #1
    Forum Contributor
    Join Date
    04-02-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    377

    save ".msg" file to selected location on harddrive

    Hi Guys,

    I have found some code that almost does what I want:
    (Outlook macro)

    Please Login or Register  to view this content.
    It's almost perfect code for me, except..
    I would like the macro to ask me where I would like to save the ".msg" file. Ideally, the macro would use something similar to Windows Explorer to search for the folder and then allow the user select the folder to save the ".msg" to.


    Thanks!
    Jimmy
    Last edited by JimmyWilliams; 03-10-2021 at 12:26 AM. Reason: Spelling and grammer
    Thanks,

    JimmyWilliams

  2. #2
    Banned User!
    Join Date
    01-17-2021
    Location
    Omaha, NE
    MS-Off Ver
    office 2016
    Posts
    218

    Re: save ".msg" file to selected location on harddrive

    to allow user to select where file is saved, 1 resource i think is best. it is msoDialog.

    https://docs.microsoft.com/en-us/off...ion.filedialog

    use it to pick a folder. here are enumerations that you can pick from

    https://docs.microsoft.com/en-us/off...filedialogtype

+ 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] Script to save to folder in "v:\dept2", confirm file saved, then delete from "v:\dept1"
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2014, 11:42 AM
  2. [SOLVED] Macros to save as "" in a specific location?
    By Dibbley247 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 01:55 PM
  3. "File name" in "Save As" dialogue blank
    By Minor7th in forum Excel General
    Replies: 2
    Last Post: 08-23-2011, 10:31 PM
  4. Save "Dynamic" sheet in workbook If cell = . To another location
    By DJarqus in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-20-2008, 12:19 AM
  5. Macro uses "Save As" to a specific location
    By kyle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2006, 02:34 PM
  6. [SOLVED] Macro uses "Save As" to a specific location
    By kyle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2006, 02:14 PM
  7. Using "Save As" with a file name selected by cell
    By B Baggins in forum Excel General
    Replies: 1
    Last Post: 09-24-2005, 10:05 AM
  8. Replies: 1
    Last Post: 05-31-2005, 08:05 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