+ Reply to Thread
Results 1 to 2 of 2

Auto-fill cells with different sheets that have unique sheet names

  1. #1
    Registered User
    Join Date
    09-30-2010
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    33

    Auto-fill cells with different sheets that have unique sheet names

    Hi,

    We have 54 different sheets (different names) all with unique names and I am trying to create one sheet that have their aggregate scores in them.

    I understand if all the sheets were named Sheet1, Sheet2,...Sheet54, I could just go into Sheet55 and in, say in cell A2, I could enter Sheet1!D7, in A3 I would enter =A2+1 and propagate that down until the data from Sheet54 is entered.

    How would I do something like this if the sheets are all uniquely named.

    For example, Sheet1 is named John Doe, Sheet2 is named Jane Doh, Sheet3 is named Mike Simpson, etc, etc.

    I have a working basic knowledge of VBA so VBA answers are welcome, but non-VBA answers would be something I would be more comfortable with!

    Thank you
    Last edited by slamdunka; 09-21-2014 at 05:26 AM.

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Auto-fill cells with different sheets that have unique sheet names

    Hi

    I think you are having trouble in collecting all 54 different sheet name.

    Run the code for filling sheet name in the active cell down wards.

    Sub SheetName()
    x = 0
    For Each sh In Worksheets
    ActiveCell.Offset(x) = sh.Name
    x = x + 1
    Next sh
    End Sub

+ 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. Auto fill static cell on separate sheet based on changing cells in another sheet
    By lawrence24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-15-2014, 12:31 PM
  2. [SOLVED] Auto fill for sheet names
    By leigh3980 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-24-2014, 07:51 PM
  3. Search for text, and then auto fill cells on new sheet
    By vonanne0 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2014, 10:30 PM
  4. [SOLVED] Auto fill column k from one sheet to another if two cells match?
    By synses in forum Excel General
    Replies: 6
    Last Post: 06-19-2013, 05:36 PM
  5. [SOLVED] Auto Fill Secondary Sheets from Master Sheet based on values in a colum
    By hfcamper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 09:04 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