PC Review


Reply
Thread Tools Rate Thread

How to do a find and highlight on Notes field?

 
 
John Riddle
Guest
Posts: n/a
 
      7th Sep 2005
Hello,

I have a customized Outlook/Exchange application that I wrote with a lot of
functionality for our recruiting firm. The users really love it, but they'd
like to be able to highlight all the occurrances of a word(s) in the Notes
field (where we keep a rich text version of their resume). Is there ANY way at
all that I could write some code to do this? I know how to write my own
find/find next function to highlight the first/next occurrance of a word, but
is there a way to highlight ALL occurrances of a word at once?

Thanks,

John


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      8th Sep 2005
Not that I know of.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
news:eEE8g7%(E-Mail Removed)...
> Hello,
>
> I have a customized Outlook/Exchange application that I wrote with a lot
> of
> functionality for our recruiting firm. The users really love it, but
> they'd
> like to be able to highlight all the occurrances of a word(s) in the Notes
> field (where we keep a rich text version of their resume). Is there ANY
> way at
> all that I could write some code to do this? I know how to write my own
> find/find next function to highlight the first/next occurrance of a word,
> but
> is there a way to highlight ALL occurrances of a word at once?
>
> Thanks,
>
> John
>
>


 
Reply With Quote
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      8th Sep 2005
Can't Redemption's SafeInspector object do this? Actually, it can probably
only highlight one letter/word/phrase at a time, because that's all you can
do in the Outlook UI anyway. Maybe it can be used to bold/change colour/font
of various words?

--
Eric Legault - B.A, MCP, MCDBA, MCSD (VS 6.0), Outlook MVP
Try Picture Attachments Wizard - http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"Ken Slovak - [MVP - Outlook]" wrote:

> Not that I know of.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
> news:eEE8g7%(E-Mail Removed)...
> > Hello,
> >
> > I have a customized Outlook/Exchange application that I wrote with a lot
> > of
> > functionality for our recruiting firm. The users really love it, but
> > they'd
> > like to be able to highlight all the occurrances of a word(s) in the Notes
> > field (where we keep a rich text version of their resume). Is there ANY
> > way at
> > all that I could write some code to do this? I know how to write my own
> > find/find next function to highlight the first/next occurrance of a word,
> > but
> > is there a way to highlight ALL occurrances of a word at once?
> >
> > Thanks,
> >
> > John
> >
> >

>
>

 
Reply With Quote
 
John Riddle
Guest
Posts: n/a
 
      8th Sep 2005
Yes, I do use Redemption here and I don't think that it is much help in
highlighting multiple (non-contiguous) words at once. I can probably change
the font of the words to be in red or something if you can help with such
syntax as it applies to the Notes field of a contactitem.

Thanks,

John

"Eric Legault [MVP - Outlook]" <(E-Mail Removed)> wrote in
message news:BB110C9C-47D3-4EB6-B4EF-(E-Mail Removed)...
Can't Redemption's SafeInspector object do this? Actually, it can probably
only highlight one letter/word/phrase at a time, because that's all you can
do in the Outlook UI anyway. Maybe it can be used to bold/change colour/font
of various words?

--
Eric Legault - B.A, MCP, MCDBA, MCSD (VS 6.0), Outlook MVP
Try Picture Attachments Wizard - http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"Ken Slovak - [MVP - Outlook]" wrote:

> Not that I know of.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
> news:eEE8g7%(E-Mail Removed)...
> > Hello,
> >
> > I have a customized Outlook/Exchange application that I wrote with a lot
> > of
> > functionality for our recruiting firm. The users really love it, but
> > they'd
> > like to be able to highlight all the occurrances of a word(s) in the Notes
> > field (where we keep a rich text version of their resume). Is there ANY
> > way at
> > all that I could write some code to do this? I know how to write my own
> > find/find next function to highlight the first/next occurrance of a word,
> > but
> > is there a way to highlight ALL occurrances of a word at once?
> >
> > Thanks,
> >
> > John
> >
> >

>
>



 
Reply With Quote
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      8th Sep 2005
I've never had the chance to use the SafeInspector object yet, but it sounds
like it is quite capable of controlling Rich Text formatting. There should
be some code samples for it at http://www.dimastr.com.

--
Eric Legault - B.A, MCP, MCDBA, MCSD (VS 6.0), Outlook MVP
Try Picture Attachments Wizard - http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"John Riddle" wrote:

> Yes, I do use Redemption here and I don't think that it is much help in
> highlighting multiple (non-contiguous) words at once. I can probably change
> the font of the words to be in red or something if you can help with such
> syntax as it applies to the Notes field of a contactitem.
>
> Thanks,
>
> John
>
> "Eric Legault [MVP - Outlook]" <(E-Mail Removed)> wrote in
> message news:BB110C9C-47D3-4EB6-B4EF-(E-Mail Removed)...
> Can't Redemption's SafeInspector object do this? Actually, it can probably
> only highlight one letter/word/phrase at a time, because that's all you can
> do in the Outlook UI anyway. Maybe it can be used to bold/change colour/font
> of various words?
>
> --
> Eric Legault - B.A, MCP, MCDBA, MCSD (VS 6.0), Outlook MVP
> Try Picture Attachments Wizard - http://tinyurl.com/ckytm
> Job: http://www.imaginets.com
> Blog: http://blogs.officezealot.com/legault/
>
>
> "Ken Slovak - [MVP - Outlook]" wrote:
>
> > Not that I know of.
> >
> > --
> > Ken Slovak
> > [MVP - Outlook]
> > http://www.slovaktech.com
> > Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
> > Reminder Manager, Extended Reminders, Attachment Options
> > http://www.slovaktech.com/products.htm
> >
> >
> > "John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
> > news:eEE8g7%(E-Mail Removed)...
> > > Hello,
> > >
> > > I have a customized Outlook/Exchange application that I wrote with a lot
> > > of
> > > functionality for our recruiting firm. The users really love it, but
> > > they'd
> > > like to be able to highlight all the occurrances of a word(s) in the Notes
> > > field (where we keep a rich text version of their resume). Is there ANY
> > > way at
> > > all that I could write some code to do this? I know how to write my own
> > > find/find next function to highlight the first/next occurrance of a word,
> > > but
> > > is there a way to highlight ALL occurrances of a word at once?
> > >
> > > Thanks,
> > >
> > > John
> > >
> > >

> >
> >

>
>
>

 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      9th Sep 2005
Am Thu, 8 Sep 2005 16:24:37 -0400 schrieb John Riddle:

John, the SafeInspector has an RTFEditor property. Use that to set the
selection with SelStart and SelLength, then use SelAttributes to set the
TextAttributes for the selected range.

It works like a charm :-)

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook

> Yes, I do use Redemption here and I don't think that it is much help in
> highlighting multiple (non-contiguous) words at once. I can probably

change
> the font of the words to be in red or something if you can help with such
> syntax as it applies to the Notes field of a contactitem.
>
> Thanks,
>
> John
>
> "Eric Legault [MVP - Outlook]" <(E-Mail Removed)> wrote in
> message news:BB110C9C-47D3-4EB6-B4EF-(E-Mail Removed)...
> Can't Redemption's SafeInspector object do this? Actually, it can

probably
> only highlight one letter/word/phrase at a time, because that's all you

can
> do in the Outlook UI anyway. Maybe it can be used to bold/change

colour/font
> of various words?

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      9th Sep 2005
But that's only for contiguous text, not for example the same word scattered
among the rest of the text.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael Bauer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Am Thu, 8 Sep 2005 16:24:37 -0400 schrieb John Riddle:
>
> John, the SafeInspector has an RTFEditor property. Use that to set the
> selection with SelStart and SelLength, then use SelAttributes to set the
> TextAttributes for the selected range.
>
> It works like a charm :-)
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook


 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      9th Sep 2005
Am Fri, 9 Sep 2005 09:37:01 -0400 schrieb Ken Slovak - [MVP - Outlook]:

You are right. But Ericīs idea is good: "higlight" the words e.g. with a
specified color.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook

> But that's only for contiguous text, not for example the same word

scattered
> among the rest of the text.

 
Reply With Quote
 
John Riddle
Guest
Posts: n/a
 
      12th Sep 2005
If I can change the RTF property for a single word at a time, then I can skip
to the next occurrance and do the same for that word and so on. I wouldn't be
able to highlight them all at once, but it sounds like I can change the text
properties of those words.

I have already written my own Find... / Find Next... function for a text box
on my form that holds a lot of notes. I should be able to use that for
changing the the font of the words in question.

John

"Michael Bauer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Am Fri, 9 Sep 2005 09:37:01 -0400 schrieb Ken Slovak - [MVP - Outlook]:

You are right. But Ericīs idea is good: "higlight" the words e.g. with a
specified color.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook

> But that's only for contiguous text, not for example the same word

scattered
> among the rest of the text.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"find - reading highlight - highlight all" > highlights won't save bobk544 Microsoft Word Document Management 2 16th Apr 2009 04:47 AM
Find rows with a common item and find or highlight difference jonnybrovo815 Microsoft Excel Programming 2 27th Feb 2008 12:56 AM
notes will not print and can not highlight them (right click) =?Utf-8?B?aXJh?= Microsoft Outlook Discussion 0 21st Jul 2007 01:02 AM
Agree, and found my notes... Re: Can't find phone notes... George Microsoft Outlook BCM 1 16th Sep 2005 12:28 AM
Code Notes field NOT to accept (save) notes that contain no data. =?Utf-8?B?U2Ft?= Microsoft Access Form Coding 1 26th Jul 2005 07:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:08 AM.