Setting the Grammar & Writing style settings with VBA

A

Alex

Hi Everyone
Can the Garmmar and Writing Style settings be set up via a
VBA script, i.e. space after full stop = 2, turn off
Negation etc...

When I use the macro recorder it does pick up these
setting and I can't find them in the VBA oject module
(probably looking in the wrong place).

Any ideas, big thank you in advance

Al
 
W

Word Heretic

G'day "Alex" <[email protected]>,

some stuff from word's help file:

With ActiveDocument
.ActiveWritingStyle(wdFrench) = "Commercial"
.ActiveWritingStyle(wdGerman) = "Technisch/Wiss"
.ActiveWritingStyle(wdEnglishUS) = "Technical"
End With


You can only set the options for each set from inside the GUI, so
maybe a SendKeys would work here. Its absymally implemented from a VBA
perspective.



Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Alex reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top