A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How Do I determing what text is currently selected in message body



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old August 23rd 07, 02:38 PM posted to microsoft.public.outlook.program_vba
don
external usenet poster
 
Posts: 120
Default How Do I determing what text is currently selected in message

Initially I could not find the answer but I emailed Dmitri and he got back to
me right away - the seltext property of redemption safeinspector.

"Eric Legault [MVP - Outlook]" wrote:

Keep in mind that not all of the functionality that you see in Outlook is
available to control or access programmatically. If Redemption can't do what
the Outlook Object Model or CDO can do, it usually can't be done.
Configuration settings are a different story though, because those are in
many places (profile, registry, file system).

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Don" wrote:

Thanks. I knew how to check if an email was open or not before attempting to
access the message. I don't use word as my email editor but I will check out
the dimastr link. What I want is clearly possible because the spell checker
works this way. I just need to figure out how to get at this functionality.

"Eric Legault [MVP - Outlook]" wrote:

Try checking whether ActiveInspector = Nothing; if so, no e-mail is open.
However, unless you use Word as your e-mail editor, Outlook 2007, or the
Redemption programming library (http://www.dimastr.com) you cannot tell what
text is selected in the message body.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Don" wrote:

I know how to determine if there is an email open and if so how to grab all
text in the body but I'm interested in determine what subset of the body text
(if any) might have been highlighted. The intent is similar to spell check -
the function of the macro should work on selected text first.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IMPORTANT Software-Development: How to identify the body/sender/recipient when the selected message is changed Kevin Stumpf Outlook Express 1 June 20th 06 11:46 AM
Inserting RTF Text in a Message Body Ridge Kennedy Outlook and VBA 4 April 12th 06 03:29 PM
Macro to change font of selected text in mail message? Joe HM Outlook and VBA 1 April 6th 06 06:06 PM
Can't see message body until Reply or Fwd is selected Jen Outlook - General Queries 0 March 16th 06 02:31 PM
shortcut to strikethrough the current selected text in a message Beth MC Outlook and VBA 1 March 3rd 06 08:36 PM


All times are GMT +1. The time now is 02:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.