[RESOLVED] [VBA] Intellisense - specifying your own values
My boss is a keen coder, and just asked me whether or not I had come across the following. I hadn't, and I don't think it is possible (or not easy at least).
He wants to make a function that one argument has only a specific list of values, so that intellisense would only pop up with those values when coding to call the function.
Eg.
Code:
'--- defined in a module somewhere
Public Function DoThatThang(byval lngThisThang as long)
end function
'---- called in code somewhere else
DoThatThang(<intellisense list shown>)
Has anyone done anything like this?
If so, is it difficult to set up?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...