+ Reply to Thread
Results 1 to 5 of 5

Use named range in workbook name

  1. #1
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Use named range in workbook name

    Hello, can i use the content from cell A1 (i give name to A1 YearGen) when i run a SaveAs macro?
    My book have name MyBook 2024 and i need to save it with macro automatically as MyBook 2025.
    YearGen now have 2025.
    Thanks in advance
    Attached Files Attached Files
    Last edited by Immortal2014; 05-29-2024 at 07:03 AM.
    Nick

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,026

    Re: Use named range in workbook name

    MyBook 2024 and i need to save it with macro automatically as MyBook 2025.
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Use named range in workbook name

    Thanks Sintek!

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,026

    Re: Use named range in workbook name

    ...............................
    THANKS.gif

  5. #5
    Registered User
    Join Date
    06-16-2024
    Location
    Dubai, UAE
    MS-Off Ver
    2019
    Posts
    31

    Re: Use named range in workbook name

    Does this code do a SaveAs only for the selected range of column?

    If yes, can you please look into my thread once

+ 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 check if named range not refer to workbook's range?
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-27-2019, 07:05 AM
  2. Replies: 0
    Last Post: 04-09-2015, 10:03 AM
  3. [SOLVED] VLookup on data from one workbook from a named range on a different workbook
    By Phixer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2014, 08:50 AM
  4. [SOLVED] Code to copy data from a closed workbook and paste in active workbook using named range.
    By paullie1912 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-28-2014, 02:38 AM
  5. creating named range in workbook that refers to VBA range
    By twd000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2008, 05:42 PM
  6. Named Range in ANOTHER workbook
    By frtklau in forum Excel General
    Replies: 1
    Last Post: 04-15-2005, 08:06 PM
  7. Named Range in another workbook
    By Jon C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2005, 10:06 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