How to search in Word doc using COM

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
jsmithw098
Forum Newbie
Posts: 1
Joined: Sat Apr 05, 2008 9:56 am

How to search in Word doc using COM

Post by jsmithw098 »

Is it possible to search for a bold (or italic, underlined) word in Word doc? this can be done in VBA but what about using PHP and COM?

I know how to check if the current selection or bookmark is underlined etc but how would I search for a underlined word?

For example:
"ignore this but find this."

Thanks
Post Reply