Visual Basic for Applications (VBA)
Hi
Would it not be simpler to put a formula in cell B2 referencing the cells in the Slave sheets
But if I want to do it in marco
Actually the actual problem I face is:-
I have workbooks that stores the $ earned by different persons in one particular day.
like this
$ earn | |
John | 120 |
May | 101 |
Peter | 140 |
One would pick any one of the workbook as a master, and have a button to click such that I can select the slaves.
The maro will open those slave ( IN BACKGROUND ), and sum up all files ( slaves + master ) , and put the result in the master such that the master store the total $ earned of each person.
How can I do it
Hi
Have a look at Andy Popes answer to How do i reference a cell in an unopened workbook in this forum this might help. The approach uses a working cell in the current book.