+ Reply to Thread
Results 1 to 9 of 9

Message to show name of file saved as a folder

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Message to show name of file saved as a folder

    I have the following code below to save a sheet

    I would like a message box to pop up advising the folder sheet saved to as well as name of file saved or alternatively to extract this when saving and place it in cell G14 on sheet "Macro"


    It would be appreciated if someone would kindly amend my code accordingly



    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Message to show name of file saved as a folder

    Just add this
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Message to show name of file saved as a folder

    Thanks for the help Fluff

    Please advise how to extract this to cell G14 on sheet "Macro"

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Message to show name of file saved as a folder

    Just replace the MsgBox with the sheet name & range

  5. #5
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Message to show name of file saved as a folder

    Please Login or Register  to view this content.
    Last edited by nigelog; 04-07-2020 at 11:28 AM.

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Message to show name of file saved as a folder

    Thanks for your input Fluff

  7. #7
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Message to show name of file saved as a folder

    Thanks for the help Nigelog

    There was one slight typo str should have been fstr

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Message to show name of file saved as a folder

    You're welcome & thanks for the feedback

  9. #9
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Message to show name of file saved as a folder

    @Howard - I was wondering when you would spot that lol

    Thanks for feedback

+ 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. Block usage of master file unless it has been saved into another folder
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2020, 06:54 AM
  2. [SOLVED] When opening file to show message if Not saved in particular location and if not then clos
    By abhinavbinkar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-30-2018, 04:38 PM
  3. Replies: 0
    Last Post: 11-16-2017, 09:15 PM
  4. Opening the most recent file saved to a folder
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2015, 08:50 PM
  5. VBA to copy multiples txt file saved in the same folder
    By alexxgalaxy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2013, 08:44 AM
  6. Replies: 0
    Last Post: 04-16-2012, 10:57 AM
  7. Extract File From Outlook Message Saved In Windows Folder
    By Panic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2008, 07:32 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