I am using Windows 10, Microsoft 2016
I have an Excel file with multiple worksheets. Each worksheet has a LName as a name. (200 sheets)
I also have a 'Data' tab. On my 'Data' tab I need 200 rows of data each row using the name of a worksheet in several formulas across the row.
Example of formulas in the 'Data' sheet: '=MasterForm!$D$2' in A1; =MasterForm!$G$2 in B1, etc... (across several columns)
I would like to copy the formulas in row 1 down the spreadsheet (200 rows) and have each line use the name of the subsequent sheet.
Desired Result:
Row 1: =MasterForm!$D$2; =MasterForm!$G$2...
Row 2: =Akau!$D$2; =Akau!$G$2...
Row 3: =Andrew!$D$2; =Andrew!$G$2...
Sheetnames: MasterForm; Akau; Andrew; ...
I've been doing this row by row with the Replace function, but I'm sure there is a better way to do this with VBA.
Thank you in advance for your help.
I have an Excel file with multiple worksheets. Each worksheet has a LName as a name. (200 sheets)
I also have a 'Data' tab. On my 'Data' tab I need 200 rows of data each row using the name of a worksheet in several formulas across the row.
Example of formulas in the 'Data' sheet: '=MasterForm!$D$2' in A1; =MasterForm!$G$2 in B1, etc... (across several columns)
I would like to copy the formulas in row 1 down the spreadsheet (200 rows) and have each line use the name of the subsequent sheet.
Desired Result:
Row 1: =MasterForm!$D$2; =MasterForm!$G$2...
Row 2: =Akau!$D$2; =Akau!$G$2...
Row 3: =Andrew!$D$2; =Andrew!$G$2...
Sheetnames: MasterForm; Akau; Andrew; ...
I've been doing this row by row with the Replace function, but I'm sure there is a better way to do this with VBA.
Thank you in advance for your help.