P
Peter
Hi
I have the following problem.
I need to find and report hidden text.
OS = XP
Dev env = MS Visual studio 2008 c++
MS Word version = 2002 sp 3
My app connects an loads MS Word OK
I get a find object from Word.
If I just set it to find some text it
works OK and I get the range.
But when I try to set font properties
in the find object it does not work.
NB it is not just for hidden text it
is for all font properties.
EG: If I set the font to find to font size
16 it does not find the text.
I know it is set cause if I call the function
to get the font size it has font size 16.
When I call the find I call with the following
set and the rest blank.
FindText = ""
Format = True
Forward = True
MatchAllWordForms = True
Wrap = wdFindStop
What am I missing here?
I have the following problem.
I need to find and report hidden text.
OS = XP
Dev env = MS Visual studio 2008 c++
MS Word version = 2002 sp 3
My app connects an loads MS Word OK
I get a find object from Word.
If I just set it to find some text it
works OK and I get the range.
But when I try to set font properties
in the find object it does not work.
NB it is not just for hidden text it
is for all font properties.
EG: If I set the font to find to font size
16 it does not find the text.
I know it is set cause if I call the function
to get the font size it has font size 16.
When I call the find I call with the following
set and the rest blank.
FindText = ""
Format = True
Forward = True
MatchAllWordForms = True
Wrap = wdFindStop
What am I missing here?