I think it is always better to use the built-in VB constants (such as
xlNone, vbLf, etc.) than the so called "magic numbers" (such as -4142, 10,
etc.) as the built-in constants go a long way to making your code
self-documenting.
Rick
> Hi Steve,
>
[quoted text clipped - 14 lines]
>>
>> Steven
Norman Jones - 30 May 2008 21:57 GMT
Hi Rick,
I always use the named constants (within
Excel); my 'bad memory' was merely an
artifice to render the implicit suggestion more
palatable!
---
Regards.
Norman
>I think it is always better to use the built-in VB constants (such as
>xlNone, vbLf, etc.) than the so called "magic numbers" (such as -4142, 10,
>etc.) as the built-in constants go a long way to making your code
>self-documenting.
>
> Rick
Rick Rothstein (MVP - VB) - 30 May 2008 22:07 GMT
And my comments were not directed to you specifically, rather, they were
directed to the community at large (either within this thread or the
archives)... your message was just a convenient 'vehicle' with which to make
my point.
Rick
> Hi Rick,
>
[quoted text clipped - 12 lines]
>>
>> Rick