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

Getting larger text in olEditorHTML



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 26th 06, 08:00 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default Getting larger text in olEditorHTML

Hi. I'm new to Outlook VBA, so perhaps I'm missing something obvious.
I'm trying to get larger text on the screen for the user when writing
and reading HTML email.

So, I have code in the "Activate" event of the new Inspector. I have a
"Select Case objInsp.EditorType" to get the editor that's being used.
For "Case olEditorWord," the following code works smoothly:

Set objDoc = objInsp.WordEditor
objDoc.ActiveWindow.ActivePane.View.Zoom = 125

"Case olEditorHTML" is the one that I'm stuck at. Grabbing
objInsp.HTMLEditor seemed the obvious way to go, but I couldn't find a
way to set the display text to "Larger," for instance. I then thought
of trying the following:

Set TextSizeCommandBarButton = objInsp.CommandBars.FindControl(,
5567)
TextSizeCommandBarButton.Execute

5567 points at View/Text Size/Larger. But the
"TextSizeCommandBarButton.Execute" does nothing. It doesn't fail, and
the code below this line executes, but no happiness with larger text.

Any ideas why the Execute is failing? And, any workarounds? I poked
around with Redemption's HTMLEditor, but couldn't find a way to get
larger text either.

Thanks for your help.

Vikram

 




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
Outlook data file (pst) is much larger than as reported by Outlook ! C-A Berseth Outlook - General Queries 3 May 10th 06 08:12 AM
Paste Text into Outlook Email gives icon not text Chad Outlook - General Queries 6 April 26th 06 09:01 PM
Sending larger emails is slow, then stops Larry B Outlook Express 6 April 22nd 06 02:29 PM
How do I make fonts larger in HELP & SUPPORT? [email protected] Outlook Express 3 February 28th 06 05:06 PM
PST file Larger on HD [email protected] Outlook - General Queries 3 January 27th 06 06:37 PM


All times are GMT +1. The time now is 10:42 AM.


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.