+ Reply to Thread
Results 1 to 2 of 2

Create and rename sheet in vba then link to it

  1. #1
    Registered User
    Join Date
    07-08-2014
    Location
    Iceland
    MS-Off Ver
    2013
    Posts
    7

    Create and rename sheet in vba then link to it

    Hi,

    I am rather new to VBA
    I was wondering if it where possible to make a macro that does the following

    Create new sheet
    Ask the user to input a name
    Rename the sheet that name
    insert that name in cell A4
    create a reference in two other sheets and hyperlink them to the sheet that was created.

    I then want to assign this macro to a button that the user presses to create the new sheet.


    If there is anyone that could help with this it would be greatly appreciated

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Create and rename sheet in vba then link to it

    Hi,

    try the file attached. You will have to implement a worksheet name validation as there is a limited number of characters a sheetname can have.

    NewSheet.xlsm
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

+ 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] Link/Rename macro button to new sheet name
    By OAM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2013, 02:47 AM
  2. Create A Copy To A New Sheet & Rename Sheet Based on Cell Value
    By delicard in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-25-2013, 08:56 PM
  3. Create a New Sheet & Rename it Based on Cell Value on Another Sheet
    By delicard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2013, 04:48 PM
  4. Create New Sheet and Rename
    By monkeynoon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2013, 04:57 PM
  5. Macro to create sheet, rename sheet, and hyperlink to it
    By prescottfarm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2013, 04:46 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