+ Reply to Thread
Results 1 to 6 of 6

Save & Rename Worksheet

  1. #1
    Registered User
    Join Date
    07-25-2022
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Lightbulb Save & Rename Worksheet

    I know how to save a worksheet to the bar below. Being a little lazy and inquisitive is there a way to use a button, with a macro to achieve the same thing?

    Thanks

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,532

    Re: Save & Rename Worksheet

    Please Login or Register  to view this content.
    Or
    Please Login or Register  to view this content.
    Macros do not (or rather, they should) include validation of the new name, because the sheet name has its limitations.

    Artik
    Last edited by Artik; 07-25-2022 at 07:16 PM.

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,532

    Re: Save & Rename Worksheet

    Here's another suggestion by Mumps1 from another thread:
    Please Login or Register  to view this content.
    Artik

  4. #4
    Registered User
    Join Date
    07-25-2022
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: Save & Rename Worksheet

    thanks everyone

  5. #5
    Registered User
    Join Date
    07-25-2022
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    3

    Re: Save & Rename Worksheet

    Hi in your second reply at

    Do
    strNewName = InputBox("Enter the new sheet name:", "New name", ActiveSheet.Name) can I just enter the cell name "B3" at "Enter the new sheet name:"

  6. #6
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,532

    Re: Save & Rename Worksheet

    I don't know if I understood correctly.
    Perhaps
    Please Login or Register  to view this content.
    Artik

+ 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. SAVE AS & rename template help
    By justin90 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2020, 04:24 PM
  2. [SOLVED] Rename Pictures in Worksheet and save to file based on consecutive reference numbers
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-18-2018, 05:47 AM
  3. [SOLVED] Create, rename, and save new worksheet and workbook
    By peihsin.lee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2017, 05:04 AM
  4. Save, Date, Rename File and Auto Save
    By COURTTROOPER in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2017, 05:16 AM
  5. Excel 2010 Macro to copy worksheet, update formula and rename worksheet
    By madmak0203 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 09:18 PM
  6. Replies: 0
    Last Post: 04-28-2012, 06:06 PM
  7. Rename a workbook and save to another location
    By Sam I Am in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2008, 08:06 PM

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