PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
How to programmatically catch selected text?
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
How to programmatically catch selected text?
![]() |
How to programmatically catch selected text? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Greetings,
Assume some text is manually selected (highlighted) in the preview pane, is there any programmatic way to catch it to assign it in order to a variable? If not, is it at all possible in an "ActiveExplorer" or "Inspector" object? Thanks for your guidance, Luc |
|
|
|
#2 |
|
Guest
Posts: n/a
|
If text is selected in an open item and you are using WordMail then
you can see what's selected by using the Word object model on that open document. Otherwise you cannot tell what text is selected. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Lead Author, Professional Outlook 2000 Programming, Wrox Press Lead Author, Beginning VB 6 Application Development, Wrox Press Attachment Options http://www.slovaktech.com/attachmentoptions.htm Extended Reminders http://www.slovaktech.com/extendedreminders.htm "Luc Querton" <lquerton@hotmail.com> wrote in message news:ezIBbkIRDHA.2148@TK2MSFTNGP10.phx.gbl... > Greetings, > > Assume some text is manually selected (highlighted) in the preview pane, is > there any programmatic way to catch it to assign it in order to a variable? > > If not, is it at all possible in an "ActiveExplorer" or "Inspector" object? > > Thanks for your guidance, > Luc > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
That is what I suspected. Thanks for your reply.
Luc "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:%23mV5MTJRDHA.2592@TK2MSFTNGP10.phx.gbl... > If text is selected in an open item and you are using WordMail then > you can see what's selected by using the Word object model on that > open document. Otherwise you cannot tell what text is selected. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Lead Author, Beginning VB 6 Application Development, Wrox Press > Attachment Options > http://www.slovaktech.com/attachmentoptions.htm > Extended Reminders > http://www.slovaktech.com/extendedreminders.htm > > > "Luc Querton" <lquerton@hotmail.com> wrote in message > news:ezIBbkIRDHA.2148@TK2MSFTNGP10.phx.gbl... > > Greetings, > > > > Assume some text is manually selected (highlighted) in the preview > pane, is > > there any programmatic way to catch it to assign it in order to a > variable? > > > > If not, is it at all possible in an "ActiveExplorer" or "Inspector" > object? > > > > Thanks for your guidance, > > Luc > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

