+ Reply to Thread
Results 1 to 4 of 4

Need macro so file can not be saved without giving it a new name

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Need macro so file can not be saved without giving it a new name

    Morning!
    On this one I have no idea as to how to start.
    Complete answer would be appreciated, but I would even appreciate a starting point clue.
    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need macro so file can not be saved without giving it a new name

    Create a "template" version of your main workbook. Save it as MyFile.xltx.

    Now add that template to your templates folder and/or put a link to the template on your desktop somewhere convenient. Use that link to open the template for "use".

    When you open a template in this manner, it is opening a "nameless copy" of the template. The use MUST give the new workbook a name, the same as is true the first time you create any workbook. Try it out, should give you all security you need. It insures the user saves each "use" as a new file and it keeps anyone from hurting your real master copy you have saved elsewhere.
    Last edited by JBeaucaire; 07-05-2012 at 03:03 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Re: Need macro so file can not be saved without giving it a new name

    I am not at home so will try later - but does the fact that the file they will be opening / saving is a .xlsm?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need macro so file can not be saved without giving it a new name

    You want to save it as an xltx if it doesn't contain macros, and an xltm if it does.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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