Hi Experts,
I have a spreadsheet will dynamic columns all with numerical data.. at the very end column there's a Total column that SUM's all the figures.
I wrote a VBA function to delete the columns before the Total column and then Copy and insert figures before the Total column from another Sheet. So weekly this VBA function is ran to update the live figures.
However, when the columns are deleted the total column displays a #REF error. Is there anyway around this progmatically?
I have a spreadsheet will dynamic columns all with numerical data.. at the very end column there's a Total column that SUM's all the figures.
I wrote a VBA function to delete the columns before the Total column and then Copy and insert figures before the Total column from another Sheet. So weekly this VBA function is ran to update the live figures.
However, when the columns are deleted the total column displays a #REF error. Is there anyway around this progmatically?