Re: Font problem using Selection.TypeText in Word/VBA



bobotheevildevilclown writes:

> I'm writing a word macro that deals with documents with both Hebrew and
> Times New Roman fonts. I select the entire text with Selection (see
> code below), make some changes, and then write the updated text back
> with Selection.TypeText. Unfortunatly when I do this the Hebrew font
> is converted to Times New Roman, making what was once hebrew a mangled
> mess. How can I preserve multiple fonts when grabbing text with
> selection.text/when typing with TypeText.

Can you first set the font of the selection?

.



Relevant Pages

  • Re: Problem with Hebrew in Windows XP on laptop from the US
    ... >>(purchased in Israel) is the English version. ... >>localized English version in addition to the Hebrew version? ... That's why you have the fonts. ...
    (microsoft.public.windowsxp.general)
  • Font problem using Selection.TypeText in Word/VBA
    ... Times New Roman fonts. ... Unfortunatly when I do this the Hebrew font ... wholeDocumentOrig = Selection.Text ...
    (comp.programming)
  • Re: Win mobile 5.0- different language websites
    ... Hebrew-specific encoding, ... and I can use it in Word to display some Hebrew ... It looks like the Treo 750 uses Windows Mobile 5.0; ... like 10 different types of fonts, without the Hebrew one that I put in,and ...
    (microsoft.public.pocketpc)
  • Re: Hebrew Fonts Already On Ubuntu OS?
    ... I do a little work with Hebrew and Syriac fonts. ... Usually Plain Text is ...
    (Ubuntu)
  • Re: Good Unicode serif font
    ... And, of course, doesn't show Hebrew. ... same time show Latin characters with plain, narrow strokes and no serifs. ... I ask because of this and other narrow-stroked sans-serif fonts that I'm ...
    (comp.os.os2.misc)