I have a "template"-sheet within my document. On this sheet there is a table that calculates values from all over the document. It looks like something: sheet2_A1 + sheet3_A3 + sheet5_B2 ,...
(Let's say) On sheet1 I want, in some cases, to copy this table from the template to my sheet1. When I do this code:
Sheets("template").Range("table").Copy Range("sheet1_paste_location")
Everything is copied, but also the formulas. What I would like is every value is a reference to the cell from where I have copied. So more something like in cell A1 on the sheet1 : "template_A1,..." instead of "sheet2_A1 + sheet3_A3 + sheet5_B2 ,..." I first did (after I've copied the table) with a for each in every cell, but the code is somewhat "lagging" a bit, is there not a way to copy with a reference with some kind of parameter ? I can't imagine there is not something like this in VBA.