Hi All,
I've been working on this Bill-Of-Materials Macro for work to automatically calculate the roll-up. It's not been fun. I recently updated it, so it puts in a formula, so you can trace how the cost is being calculated. Let me get to the point, I'm currently using the following to get the cell address:
tbl.DataBodyRange(j, intOutputColumn).Address(False, False)
This will give me something in the format of A1. The problem is when I sort it, the formulas get all messed up because they are global. I'm not sure if it's even possible, but could I somehow reference a cell in a table that updates properly when the column is sorted? To be clear, the cells I'm reference are not in the same row.
I did have this working where it put in a value, but then it doesn't actively update and there's no traceability. Of course, the sort function would work fine though.
Thanks in advance for any help.
-Kris
Bookmarks