changing double quotes to open/close double quotes

K

ken

I need to replace a double quote character in parts of my 500 page document.
I made the mistake of telling the find/replace command to replace all. My
problem is I have code snippets that are in one font (mono spaced) and specs
that are in other (TNR) and I need the double quote character in the code
snippets and the open/close in the spec sections. I need to replace the
open/close double quotes in the snippets back to the regular double quote
character. So, I did a test find/replace on the spec sections and there
over 10,000 double quote characters (including open/close double quotes as
well as regular double quotes). The same for code snippets. Is there a way
to force the find/replace function to replace any double quote with a
regular double quote? And is there a way to have the find function look for
regular double quotes? It seems that Word makes no distinction between
open/close double quotes and regular double quotes.

TIA,
Ken Erickson
 
M

Margaret Aldis

Hi Ken

You can use the Format menu in the Find and Replace dialog (you need to use
More to see it) to impose a font condition on the search. You may find you
also need to change the AutoFormat entry that replaces straight quotes with
curly ones before doing the find and replace for monospace font ".
 
G

Greg

Ken,

First let me say that I am not sure I know the diffence
between an open/close double quote and a double quote.
However, if you are trying to change "smart quotes" in one
font to straight quotes while ignoring the "smart quotes"
in the another font, maybe I can help.

Assuming every double quote in your document now is
a "smart qoute" perform the following:

Tools>AutoCorrect Options>AutoFormat As You Type.
Uncheck "Straigt Quotes" to "Smart Quotes"

Edit>Replace. Type " in the find what field.
Select the "More" button Format>Font
Apply the Mono Spaced font
Type " in the replace with field
Replace all.

This should find only the smart quotes formatted with the
mono spaced font and replace them with straight qoutes.

I say should because I don't have a font name "mono
spaced" to test with.
 
K

ken

Graham,

Thanks, your suggestion worked the best. Where do I find more info on the
[^0147] stuff? I looked in the symbol table and find it very diffifcult to
find the open/close double quote.

Ken Erickson


Graham Mayor said:
To change " " to ""
Use a wildcard replace of

[^0147^0148]
with
"

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

I need to replace a double quote character in parts of my 500 page
document. I made the mistake of telling the find/replace command to
replace all. My problem is I have code snippets that are in one font
(mono spaced) and specs that are in other (TNR) and I need the double
quote character in the code snippets and the open/close in the spec
sections. I need to replace the open/close double quotes in the
snippets back to the regular double quote character. So, I did a
test find/replace on the spec sections and there over 10,000 double
quote characters (including open/close double quotes as well as
regular double quotes). The same for code snippets. Is there a way
to force the find/replace function to replace any double quote with a
regular double quote? And is there a way to have the find function
look for regular double quotes? It seems that Word makes no
distinction between open/close double quotes and regular double
quotes.

TIA,
Ken Erickson
 
K

ken

I know about the formatting option at the bottom of the find/replace
dialog - there are so many options/setups in word - enough to give a cow
heartburn that it some times becomes a hindrance to work with. As someone
once said: sometimes having too much can be a bad thing!

Thanks,
Ken Erickson

Graham Mayor said:
That was pretty good - the quotes don't translate over e-mail:(
But the replace is still valid - you can incorporate a formatting style in
the search string to narrow the results if required.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>



Graham said:
To change " " to ""
Use a wildcard replace of

[^0147^0148]
with
"

I need to replace a double quote character in parts of my 500 page
document. I made the mistake of telling the find/replace command to
replace all. My problem is I have code snippets that are in one font
(mono spaced) and specs that are in other (TNR) and I need the double
quote character in the code snippets and the open/close in the spec
sections. I need to replace the open/close double quotes in the
snippets back to the regular double quote character. So, I did a
test find/replace on the spec sections and there over 10,000 double
quote characters (including open/close double quotes as well as
regular double quotes). The same for code snippets. Is there a way
to force the find/replace function to replace any double quote with a
regular double quote? And is there a way to have the find function
look for regular double quotes? It seems that Word makes no
distinction between open/close double quotes and regular double
quotes.

TIA,
Ken Erickson
 
G

Graham Mayor

Use the Insert Symbol dialog with Times New Roman font where these
characters are well defined - the characters in question are in the Latin
Extended Additional region - and checkout the ALT key combination = ALT0147

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>


Graham,

Thanks, your suggestion worked the best. Where do I find more info
on the [^0147] stuff? I looked in the symbol table and find it very
diffifcult to find the open/close double quote.

Ken Erickson


Graham Mayor said:
To change " " to ""
Use a wildcard replace of

[^0147^0148]
with
"

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

I need to replace a double quote character in parts of my 500 page
document. I made the mistake of telling the find/replace command to
replace all. My problem is I have code snippets that are in one
font (mono spaced) and specs that are in other (TNR) and I need the
double quote character in the code snippets and the open/close in
the spec sections. I need to replace the open/close double quotes
in the snippets back to the regular double quote character. So, I
did a
test find/replace on the spec sections and there over 10,000 double
quote characters (including open/close double quotes as well as
regular double quotes). The same for code snippets. Is there a way
to force the find/replace function to replace any double quote with
a regular double quote? And is there a way to have the find
function look for regular double quotes? It seems that Word makes
no distinction between open/close double quotes and regular double
quotes.

TIA,
Ken Erickson
 

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

Similar Threads

Selection.Replace What and double quotes 5
Double Quotes 5
Double Quotes 2
double quotes 3
find and replace using wildcard characters 2
Double quotes 1
Straight Quotes 1
Single vs. double quotes 4

Top