Can Quick Styles turn off autocomplete?

G

Guest

I'm trying to write a tutorial for a programming process in Word 2007. In
the coding sections (designated by a quick style using a special font), the
quotation marks shouldn't be curvy (sounds lame but programmers will
sympathize... it makes the code confusing). Everywhere else they should be
as normal. Is there a way I can set a Quick Style to turn off automatic
reformatting of punctuation?
 
C

Cindy M.

Hi =?Utf-8?B?Um9i?=,
I'm trying to write a tutorial for a programming process in Word 2007. In
the coding sections (designated by a quick style using a special font), the
quotation marks shouldn't be curvy (sounds lame but programmers will
sympathize... it makes the code confusing). Everywhere else they should be
as normal. Is there a way I can set a Quick Style to turn off automatic
reformatting of punctuation?
No, unfortunately the AutoFormat As You Type functionality isn't linked to
styles or spell check or anything you can control selectively. I think you
have two possibilities

1. Use Find/Replace on the document to find the opening, then the closing
quotes in conjunction with the style name used for code snippets.

2. Assign the key combination for typing quotes to a macro. The macro checks
the style, the position in the text (beginning/end of a word) and inserts the
appropriate character.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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