I did find a solution to this problem. If you do copy range A7:A8 and paste it back as values there are no references to the UDF function and then the macro seems to work as expected. Well you better test this properly.
I did make some changes to the macro setup. First I modified the "Private Sub Workbook_BeforeSave" macro as this gave me a chance to do a better trouble shooting of the rest of the macro.
The two macros now look like this:
this macro goes in the ThisWorkbbok same as your "Sub Workbook_Open" macro. Then there is the "UpdateFil" macro
and this you can put in your modul1 where the "Function FindWord" is placed.
The column A is now formatted as date, don't know what kind of date format you use so I guesstimated yyyy-mm-dd but this you can change to mm-dd-yyyy if this is better.
The modification of A7:A8 (copying and pasting) can be add at the start of the macro.
What you also could do is to post a new thread in the forum with the title like "UDF funktion messes up my macro" as a new thread always attracts more attention than an old one where there has been some activity and hopefully a more knowledgeable forum member could find a better solution.
Alf
Bookmarks