multiple worksheets - getting data from same cell for a list

N

noy

Hi - Could anyone assist please.

I have a workbook (just the one document) with around 60 pages of active
data in it - all pages have the same format. Just the data (scores in this
case) and page name (page1, page2 etc.) change.

I am trying to do a master list on the front page which pulls the data from
cell G192 from each page onto a master refrence list. Is there anyway to
bring the contents to the master list other than write in cell A1 =
Book1!G192 in cell A2 = Book2!G192 etc.,?

I can do this 60 times but there must be a simpler way. Anyone got any tips
please?


Ta


Andy
 
J

Jacob Skaria

Mention the sheet names in one column as shown below. In B1 enter this
formula. Drag the formula down

A1 = Book1
A2 = Book2

=INDIRECT(A1&"!" & "G192")

If this post helps click Yes
 
D

Don Guillett

try
Sub getlistfromshts()
For i = 1 To Sheets.Count
If Sheets(i).Name <> "Master" Then
Sheets("master").Cells(i, 1) = Sheets(i).Range("g192")
End If
Next i
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top