+ Reply to Thread
Results 1 to 4 of 4

Amend MsgBox text to include path of file i.e. which folder it is save in

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Question Amend MsgBox text to include path of file i.e. which folder it is save in

    Hi,

    I have the following code that automatically saves my workbook i.e. Milestones Report as ‘Milestones Report (dd-mm-yyyy).xlsx’ where dd-mm-yyyy is todays date i.e.

    Please Login or Register  to view this content.
    then have the following code that displays a message to say the file has been saved successfully i.e.

    Please Login or Register  to view this content.
    Can anyone please advise me how to amend the code to include the path of the folder where the ‘Milestones Report (dd-mm-yyyy).xlsx’ is saved?

    Any assistance in this matter would be greatly appreciated

    Many thanks in advance

    Regards

    Rob
    Last edited by jeffreybrown; 03-28-2018 at 09:33 AM. Reason: Please use code tags!
    Rob

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Amend MsgBox text to include path of file i.e. which folder it is save in

    Try something like:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Re: Amend MsgBox text to include path of file i.e. which folder it is save in

    Olly,

    many thanks for your assistance, the code is exactly what I required!

    Thanks again

    Regards

    Rob

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Amend MsgBox text to include path of file i.e. which folder it is save in

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. You can also 'Add Reputation' to those who helped you. 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. Create a folder to save a file and two subfolders in a defined path
    By Biplab1985 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-01-2015, 11:43 AM
  2. Code to list the folder path and sub folder path of a specific file
    By kalai1587 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2013, 03:51 AM
  3. Replies: 2
    Last Post: 07-19-2013, 01:02 AM
  4. Include cell value in folder path for a linked file
    By Snajder in forum Excel General
    Replies: 1
    Last Post: 06-27-2013, 04:25 AM
  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. [SOLVED] How would I save a text file to a folder on the users desktop without knowing the path?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-21-2012, 01:36 PM
  7. MsgBox - path to folder
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2009, 03:33 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