Hello Board,
If anyone knows how to do the following that would be very helpful.
I have a large excel with 100 different tabs which currently includes many hardcodes. Most of the tabs have the same structure which is helpful. I want to create a new tab where I can consolidate all similar datapoints that are currently included in all those tabs and make the excel dynamic where if I change a datapoint in that new tab this changes for example tab number 51.
What I want to add are the following steps:
1. Record a Macro with the following steps: I go in tab 1, copy paste cell L10 to a new tab I created as Value, Copy that Value from the new tab and paste it as a link to the original L10 cell in tab 1, therefore replacing the original hardcoded value as a link input from the new tab I just created.
2. Take this Recorded Macro Code and include an other code that does the exact same steps to all the other 100 tabs in the excel. Basically copying L10 cell in all tabs 1-100, copying pasting as a value L10 in the new tab I created and re-link these values I just copied in the new tab as links to all the original L10 cells in all tabs 1-100. In the new tab, it can put all the hardcoded L10 values from all tabs 1-100, one below the other (populate all cells in that new tab from B1 - B100)
2 other questions:
1. Is there a quick way using a macro, to copy paste all the tab names from tabs 1-100 to a new tab as Values so that I can use an Indirect formula so that I dont have to copy past each individual tab's name manually into the new tab?
2. On step 2 above, is there any way to write in the VBA Code to only do this steps in tabs that are in between Tab3 >>> and <<<Tab55 for example. So it will pick cells L10 for all tabs that are in between those 2 tabs (i.e. Tab4 all the way to Tab54) ?
I have seen this SUM formula to be working and takes and sums the same cell across different tabs: =SUM('Tab3>>>:<<<Tab55'!L10) --> this formula picks up all L10 cells in tabs that are between Tab3 and Tab55 and it sums them up. Is there a similar formula for the macro to only do this macro between the tabs that are located between these 2 tabs?
Thank you for your help!! Please let me know if anything is unclear
If anyone knows how to do the following that would be very helpful.
I have a large excel with 100 different tabs which currently includes many hardcodes. Most of the tabs have the same structure which is helpful. I want to create a new tab where I can consolidate all similar datapoints that are currently included in all those tabs and make the excel dynamic where if I change a datapoint in that new tab this changes for example tab number 51.
What I want to add are the following steps:
1. Record a Macro with the following steps: I go in tab 1, copy paste cell L10 to a new tab I created as Value, Copy that Value from the new tab and paste it as a link to the original L10 cell in tab 1, therefore replacing the original hardcoded value as a link input from the new tab I just created.
2. Take this Recorded Macro Code and include an other code that does the exact same steps to all the other 100 tabs in the excel. Basically copying L10 cell in all tabs 1-100, copying pasting as a value L10 in the new tab I created and re-link these values I just copied in the new tab as links to all the original L10 cells in all tabs 1-100. In the new tab, it can put all the hardcoded L10 values from all tabs 1-100, one below the other (populate all cells in that new tab from B1 - B100)
2 other questions:
1. Is there a quick way using a macro, to copy paste all the tab names from tabs 1-100 to a new tab as Values so that I can use an Indirect formula so that I dont have to copy past each individual tab's name manually into the new tab?
2. On step 2 above, is there any way to write in the VBA Code to only do this steps in tabs that are in between Tab3 >>> and <<<Tab55 for example. So it will pick cells L10 for all tabs that are in between those 2 tabs (i.e. Tab4 all the way to Tab54) ?
I have seen this SUM formula to be working and takes and sums the same cell across different tabs: =SUM('Tab3>>>:<<<Tab55'!L10) --> this formula picks up all L10 cells in tabs that are between Tab3 and Tab55 and it sums them up. Is there a similar formula for the macro to only do this macro between the tabs that are located between these 2 tabs?
Thank you for your help!! Please let me know if anything is unclear