Link to home
Start Free TrialLog in
Avatar of rb79
rb79

asked on

How to set the "Do not embed common system fonts" property in Word object?

Hi guys,

How do you set the property "Do not embed common system fonts" to true using VBA? This option can be found under EmbedTrueTypeFonts property in Word (Tools>>Options>>Save tab). Could it be not possible at all programmitically? I have looked around and not found a definite answer.

Raj
Avatar of rb79
rb79

ASKER

BTW for our Word DOC reports, setting EmbedTrueTypeFonts to true and the property "Do not embed common system fonts" to true results in reducing the Word file size from >800kB to ~230kB.
That's a big improvement. Just switching off EmbedTrueTypeFonts to false helps too (~250kB) but I would like to know if the property "Do not embed common system fonts" be accessed programmitcally.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of byundt
byundt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rb79

ASKER

Great! It worked. Should have guessed myself before posting here. Anyways you get your points. Thanks.
Raj,
If truth be known, I had never seen those settings. So I followed your directions while recording a macro (Tools...Macro...Record menu item). I then found the two statements that were doing something in the resulting code and placed them in a separate sub. After testing, I then posted my Comment. That's a lesson well worth knowing.

Thanks for the grade!
Brad