Hi,
I am looking at ways of optimising my vba code.
I've noticed that a collegue uses type declaration characters on his numbers within his code, e.g. value = 10# - otherValue
Can anyone tell me if there is any benefit to be gained from this approach? What is the default type of numbers used in vba expressions?
For example, would there be any performance gain from doing this:
value = 10% - otherValue over the statement above?
Thanks in advance.
Phil.
I am looking at ways of optimising my vba code.
I've noticed that a collegue uses type declaration characters on his numbers within his code, e.g. value = 10# - otherValue
Can anyone tell me if there is any benefit to be gained from this approach? What is the default type of numbers used in vba expressions?
For example, would there be any performance gain from doing this:
value = 10% - otherValue over the statement above?
Thanks in advance.
Phil.