Hi, this is my first time on this forum. I've been muddling through with building macros in Excel, but have found a problem I can't solve.
My macro opens a new workbook, reads in and sorts/filters data from a text file before analysing it.
I've input a formula into cell using the macro, but after the macro has finished the formula isn't working. However, if I then click on the cell containing the formula, go to the formula bar and hit 'enter' the formula then works correctly.
I can't think of an explanation for this and would appreciate some help.
Many thanks
My macro opens a new workbook, reads in and sorts/filters data from a text file before analysing it.
I've input a formula into cell using the macro, but after the macro has finished the formula isn't working. However, if I then click on the cell containing the formula, go to the formula bar and hit 'enter' the formula then works correctly.
I can't think of an explanation for this and would appreciate some help.
Many thanks