I have a file, within which I have created a couple of custom worksheet functions. These functions simply parse the contents of the referenced cell. I need these to seperate out certain parts of the text. These functions seem to work fine.
I also have some code, in the same workbook, that opens a text print file, copies formulas to extract required information and filter required records to another sheet.
However the code stops before it has finished, but doesn't give any error messages. The point at twhich it stops is after it copies and pastes the formulas, then recalculates. All the cells recalc OK except those that use the custom functions detailed above. These show as #VALUE.
If I F2 & ENTER these cells, they recalc OK. If I copy the formulas, prior to running the code, they recalc OK.
Why would these functions not be recalculating properly and stopping my code from running?
I can post my code if it would be of help.
T.I.A.
I also have some code, in the same workbook, that opens a text print file, copies formulas to extract required information and filter required records to another sheet.
However the code stops before it has finished, but doesn't give any error messages. The point at twhich it stops is after it copies and pastes the formulas, then recalculates. All the cells recalc OK except those that use the custom functions detailed above. These show as #VALUE.
If I F2 & ENTER these cells, they recalc OK. If I copy the formulas, prior to running the code, they recalc OK.
Why would these functions not be recalculating properly and stopping my code from running?
I can post my code if it would be of help.
T.I.A.