+ Reply to Thread
Results 1 to 2 of 2

Link/Rename macro button to new sheet name

  1. #1
    Registered User
    Join Date
    07-08-2008
    Location
    Arkansas
    Posts
    32

    Question Link/Rename macro button to new sheet name

    I am working on an Employee Review form for each of our employees. I started with a Master sheet and come up with a VBA code that will create and name a new tab for each employee from the Master sheet. In addition, there is a VBA code assigned to a button on each sheet that will name and save a single sheet to a specific location based on the name of the employee on the tab. The problem is when I run the code to create the new tabs from the Master sheet, the macro button from each sheet/tab is still linked to the Master sheet as opposed to each employee’s sheet macro.

    Is there a way to create the new sheets and have the sheet macro buttons look at each sheets macro as opposed to it looking at the Master sheet?

    Thank you for any help with this matter.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Link/Rename macro button to new sheet name

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Rename macro button
    By Stews in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-20-2013, 03:00 PM
  2. [SOLVED] A button to create Sheet2, copy there data from Sheet1 and rename the sheet?
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-17-2012, 10:34 AM
  3. Macro for button to create new worksheet and rename with todays date
    By BBXguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2009, 03:47 PM
  4. [SOLVED] how to link a macro to a button on the excel sheet
    By Neo in forum Excel General
    Replies: 1
    Last Post: 06-16-2006, 12:10 PM
  5. Button to copy sheet, rename sheet sequencially.
    By foxgguy2005 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-17-2005, 09:05 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