Hi,
I have more than 100 files in one folder and one master file.
In the master file I have all the file names listed in Column A from Row 10.
Example
Store_11
Store_22
Store_33 etc
in column B Row 10 I have many formulas like this
=[Store_1.xlsx]Sheet1'!$A$1], =[Store_1.xlsx]Sheet2'!$D$45,] ,=[Store_1.xlsx]Sheet5'!$U$45,] etc.. all the values which are there on the Store_1 file.
in the next row
=[Store_2.xlsx]Sheet1'!$A$1], =[Store_2.xlsx]Sheet2'!$D$45,] ,=[Store_2.xlsx]Sheet5'!$U$45,] etc.. all the values which are there on the Store_1 file.
formulas are same for all the rows except the file names such as Store_1, Store2 etc.
If there are few files then I can enter the formulas manually. But there are more than 100 files. So I Have to type the formulas in all the 100 rows in master sheet.
I need a macro which copies the same formula in all the row by changing only the file names which are there on the folder.
thanks in advance..
The same question has been posted here: http://www.mrexcel.com/forum/showthread.php?t=333925
Bookmarks