J
Jerry Bodoff
Hi,
I am using Word 2000 and have created a VBA form to do
field validations and corrections. On the form I have a
TextBox that contains a data definition in the format of:
AAAA - BBBB , CCCC - DDDD
In the macro there is a routine that validates the data
and displays an error list. In addition to the error
list I would like to hilight the fields in error. For
instance, if the relationship between BBBB and DDDD is in
error I wish to hilight only the BBBB and DDDD fields.
Using SelStart and SelLength I am able to hilight only
one of the fields. Is there a way to hilight both fields?
I have looked at the KnowledgeBase and at API's but
cannot seem to find anything.
Any help would be appreciated.
Jerry B.
I am using Word 2000 and have created a VBA form to do
field validations and corrections. On the form I have a
TextBox that contains a data definition in the format of:
AAAA - BBBB , CCCC - DDDD
In the macro there is a routine that validates the data
and displays an error list. In addition to the error
list I would like to hilight the fields in error. For
instance, if the relationship between BBBB and DDDD is in
error I wish to hilight only the BBBB and DDDD fields.
Using SelStart and SelLength I am able to hilight only
one of the fields. Is there a way to hilight both fields?
I have looked at the KnowledgeBase and at API's but
cannot seem to find anything.
Any help would be appreciated.
Jerry B.