Hi all
I've done a comprehensive search and can't find the answer to this problem so I'm hoping someone can help.
I have a user defined function NetWorkHours which I have been storing in my personal.xlsb workbook so that I can access it when I open any workbook.
This has been working fine until I had a clear out of my macros recently and moved it out of personal.xlsb and into personal.xlsm, forgetting that it needed to be in personal.xlsb. The function is no longer working.
I moved the module back into personal.xlsb but the problem still persists. I have tried copying it into a current workbook and the function is recognised (i.e. when I start typing NetWorkHours it comes up in the little drop down), however I'm still getting the #NAME#?error.
I know the code works as I was originally sent it in an email from a colleague, and when I open his workbook and try to use it in the associated worksheet the function works fine. The problem just seems to be with getting it to be recognised in my own workbook.
This has me stumped! Hopefully it's something really simple that I'm missing.
If it helps the code is below (although as stated above I know that this code is OK).
Many thanks![]()
Please Login or Register to view this content.
Bookmarks