Hi. I'm new to the world of Excel programming, so I hope I'm not being too simple here. I've Googled around for the answer to this and couldn't find a simple fix.
I've created some UDFs for a specific Excel file I'm working on. Here's the code:
When I open my file, everything works fine, and the cells using those UDFs update as they should. When I open another Excel file, though, the cells using the ExtraQuantity function return #VALUE, and I have to double-click on the cells and press ENTER to get them to calculate correctly again. I can save at this point and reopen and everything's fine, but it errors again as soon as I open another file. What should I add to my functions to keep this from happening? Thanks.![]()
Please Login or Register to view this content.
Bookmarks