ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   retrieving data (https://www.excelbanter.com/excel-worksheet-functions/130526-retrieving-data.html)

Jess

retrieving data
 
I have multiple worsheets that contain a form that is protected except for
the cells we want filled out. I have a master sheet in which I want to pull
certain information from each of the individual forms. For example, each
form has the specific company's name and this is one thing i want to be
automatically pulled from each individual form into the master sheet. Is
there a formula that will pull each individual company name into the master
sheet?

vezerid

retrieving data
 
I assume that you replicate the worksheets for each new company. Each
worksheet has a name. One solution:

You can compile all sheet names in a separate sheet (next to the
master list you want to compile). Say these are in cells A2:A100. Say
the cell with the company name in each sheet is F3. Next to A2:

=INDIRECT("'"&A2&"'!F3")

Copy down. To compile a list of the sheet names in A2:Ax of sheet
"Master"

Sub CompileSheetNameList()
dim sh as Worksheet
j = 2
For Each sh in ThisWorkbook.Worksheets
Sheets("Master").Cells(j,1).Value = sh.Name
j = j + 1
Next sh
End Sub

HTH
Kostis Vezerides



On Feb 13, 7:13 pm, Jess wrote:
I have multiple worsheets that contain a form that is protected except for
the cells we want filled out. I have a master sheet in which I want to pull
certain information from each of the individual forms. For example, each
form has the specific company's name and this is one thing i want to be
automatically pulled from each individual form into the master sheet. Is
there a formula that will pull each individual company name into the master
sheet?





All times are GMT +1. The time now is 08:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com