Hi, I have a simple attachment below with 6 sheets. Four of them are just duplicates with 1 to 10 written out in cells a1-j1. The 'list' sheet has the names of some of these duplicate sheets, and the 'total' sheet is where I want my macro to be and work. I have already put a macro together as such:
What this is trying to do is go to the 'list' sheet, and if the 'list' sheet has the names of certain other sheets in column A, it should add the relevant cell of those particular sheets. For example, the list sheet has test 20, 25 and 26 in column A. Therefore, a1 of my 'total' sheet should be ='test 20'!a1+'test 25'!a1+'test 26'!a1. A2 would be ='test 20'!a2+'test 25'!a2+'test 26'!a2. If I deleted test 26 from list, it would just be ='test 20'!a1+'test 25'!a1 in a1.
Could someone help with this please?
Bookmarks