+ Reply to Thread
Results 1 to 2 of 2

Ensure that File Name Save As Different Name than Current File Name

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,101

    Ensure that File Name Save As Different Name than Current File Name

    Hello Excel VBA Experts.

    When the user do a 'Save As', how do I force a user to have the file save as a different name?

    i.e If the file name is 'Book1.xlsx', I'd like the user to save it as a different name such as 'Test.xlsx'...Anything that starts with 'Book' is not accepted.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Ensure that File Name Save As Different Name than Current File Name

    I am not sure that you will be able to force but you can suggest by putting into ThisWorkBook code:

    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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] How to Save as a file with current date and specific text as file name
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2018, 12:30 AM
  2. [SOLVED] save file with current date
    By xi603 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-30-2017, 01:42 AM
  3. [SOLVED] VB to save to file of current date
    By sroot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2015, 07:16 AM
  4. [SOLVED] Save file as current date
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-28-2014, 03:54 PM
  5. Create new CSV file or save in the current WB
    By firsttimeexcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2012, 05:33 PM
  6. macro save file for current year and month with a file name SHReportddmmyy.xls
    By evwang in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2011, 10:38 PM
  7. file cannot save in the current format
    By Harrold in forum Excel General
    Replies: 1
    Last Post: 02-07-2011, 07:52 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