+ Reply to Thread
Results 1 to 2 of 2

Unhide and name sheet based on range of cells

  1. #1
    Registered User
    Join Date
    07-13-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    18

    Unhide and name sheet based on range of cells

    Hi guys

    I need help

    Sheet1 named "Names"
    Sheet2 named "Results"
    Sheet3 to Sheet50 each memeber scores


    I put names in range B3:B53 in the "Names" sheet, those names get copied to the cell range B3:B106 on the "Result" sheet, there are some blank cells between each cell.
    Sheets3 and the rest are hidden.

    I need VBA code which would:
    1. Unhide Sheet3, Sheet4,... based on input to cells from "Result" B3:B106,
    2. Name the sheets based on cells from "Result" B3:B106

    Thanks very much

  2. #2
    Registered User
    Join Date
    03-24-2011
    Location
    Bristol
    MS-Off Ver
    Excel 2000
    Posts
    36

    Re: Unhide and name sheet based on range of cells

    My suggestion:-

    In order for your changes to the "Result" sheet to be picked up by a Macro I suggest creating another worksheet, which stores the historic values of "Result" (not linked. In the first instance copy and paste values, then leave it to the macro to update as necessary)

    On starting the macro it will compare the data from one with the other and therefore pick up any changes you have made.

    The same macro could then unhide the relevant worksheets, rename them and update the data held in the historical worksheet.

    Finally another macro could be used to then close all the open sheets.

    Hope this suggestion is a helpful start.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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