View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ronald Dodge[_2_] Ronald Dodge[_2_] is offline
external usenet poster
 
Posts: 130
Default Constants Tied to Arguments in Methods

I would like to know how can I type constants to a particular argument in
methods similar to like how the constants below are tied to the last
argument of the InStr function:

vbBinaryCompare
vbDatabaseCompare
vbTextCompare

I have a method within VBA that I would love to be able to do the same thing
with, rather than having to put constants in a separate location or having
to hard code the values.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000