I have several functions I want to use in various projects. How do I maintain 1 copy in a standard location, but available to all projects?
Personal Library
Collapse
X
-
Tags: None
-
I tried this, and the Browse... eventually wanted a *.olb;*.tlb;*.d ll so didn't work. My functions might beThis is a simplified example, so don't expand on the idea, I know about ParamArray, etc.Code:Public Function Max(varFirst as Variant, varSecond as Variant) as Variant If varFirst > varSecond then Max = varFirst else Max = varSecond End Function
So I now have a project consisting of above function and similar ones. What next?Comment
-
Don't you ever sleep?
Thankx, I got it working. I somehow have never had the list of extensions not be correct, so I overlooked that I could choose others.Comment
-
I'm not concerned about performance, as these are primary to handle user input, and most users can't type over about 250 characters/minute. Any code to handle user interface is probably not optimum. If one of these were going to be called by a query with 100K+ rows, yes, then this would be an issue. But then again, I would probably be writing the function to specifically address the EXACT problem, not a general function.Comment
-
For anyone that is interested, here is a reference source:
Comment
-
Thanks puppydogbuddy, but that link, and subsequent ones from there lost me. I'll quit with post #6 as it does what I need.
We link tables all the time, and if there were a cost/efficiency issue with linking, it should have come up there.Comment
-
Code Librarian
I believe the Code Librarian is included with the Office XP Developers Productivity ToolKit, which is a separate download. The problem is there so many downloads, I would have to check them all out. see this link:
Comment
Comment