Getting larger text in olEditorHTML

  • Thread starter Thread starter beaugeek
  • Start date Start date
B

beaugeek

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
 
Am 26 Jun 2006 12:00:22 -0700 schrieb (e-mail address removed):

If it´s a received e-mail then you first you need to switch into edit mode
via Edit/Edit message.
 
Back
Top