+ Reply to Thread
Results 1 to 9 of 9

Rename worksheet tabs and sheets to match tabs via button

  1. #1
    Registered User
    Join Date
    07-30-2011
    Location
    Sydney
    MS-Off Ver
    Australia
    Posts
    3

    Rename worksheet tabs and sheets to match tabs via button

    Update

    I want to thank those of you who can help, I am new to excel and I really need assistance and would appreaciate any help I can get as I need to have this resolved very soon and need help.......

    Hi I really hope someone can help me.

    What I have is a workbook with 31 tabs dated with the current months date. Each sheet cell also has the date at the top. The sheet themselfs have a site name, start time finish time for the various site I am responsabily for around the country.

    Every month I need to rename each tab and sheet to the new date for the next month ensuring the new months date are matched to the sheets weekends.

    What I need is to be able to change the tabs and the cell on the sheet with the date to the new corrosponding months date ensuring the weekends mathc the weekend sheets by clicking a button. I have the below code witch ads sheets after specifying the start date and end date, but what I really need is to be able to rename the existing tabs and sheets.

    PLEASE HELP!!
    Last edited by timgavin; 07-30-2011 at 11:51 PM. Reason: Urgent Help and response required

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: Rename worksheet tabs and sheets to match tabs via button

    timgavin,

    Welcome to the forum. Please read the rules about posting. If you posted the same subject on another site please refer too it in your post.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Rename worksheet tabs and sheets to match tabs via button

    A sheet for each day is usually unnecessary, there's probably a much better way to do this

    Has this beeen posted on a different Forum?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Rename worksheet tabs and sheets to match tabs via button

    Hi Tim

    I am not a fan of having data on separate sheets, and prefer it all on one sheet with a column which refers to Day and then filter or use Pivot Table to report for any given day.

    However, many people have asked for this and want to work with separate sheets so I have written code to produce a workbook for each month, with a tab for each day.

    You will find a downloadable file here
    http://www.contextures.com/excelfilesRoger.html
    and scroll down to the section Monthly Workbook creator
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Rename worksheet tabs and sheets to match tabs via button

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this

  6. #6
    Registered User
    Join Date
    07-30-2011
    Location
    Sydney
    MS-Off Ver
    Australia
    Posts
    3

    Re: Rename worksheet tabs and sheets to match tabs via button

    Hi Thankyou Roger, sorry how do I also have the date listed on each sheet in cell "A1" and can I get my master workbook to add to the new workbooks?

  7. #7
    Registered User
    Join Date
    07-30-2011
    Location
    Sydney
    MS-Off Ver
    Australia
    Posts
    3

    Re: Rename worksheet tabs and sheets to match tabs via button

    I am so sorry, I did not realise. I will remove the post from the other site. I thought as it was on a completly other site it was not in fringing on the site rules. Anyway I will remove the post from the other site. Thankyou

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Rename worksheet tabs and sheets to match tabs via button

    You only need to post links to each site

  9. #9
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Rename worksheet tabs and sheets to match tabs via button

    Quote Originally Posted by timgavin View Post
    Hi Thankyou Roger, sorry how do I also have the date listed on each sheet in cell "A1" and can I get my master workbook to add to the new workbooks?
    Hi Tim

    To add the date to cell A1 of each sheet jsut add the last 2 lines into the sub toutine
    Please Login or Register  to view this content.
    As for the other part of your question, I don't follow what you mean.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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