italics replacement with delimiters

D

Dream

I have a macro that extracts footnotes out of a Word document.
It is functioning fine but I'm trying to enhance it by subbing the
italicized words and phrases with some delimiters so that I can process
the footnotes with some other software.
So I tried this find/replace operation using the dialog box to test:

find what: <empty>, Italics set
replace with: =^&=

The italicized phrases are selected okay but if I hit the replace
button, the two equal signs are inserted after the phrase:

italicized text==

instead of

=italicized text=

Anybody know a solution around this?
Is there some other setting or expression construct I should be using?

Dave
 
G

Graham Mayor

It works fine here ?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
C

Cindy M.

Hi Dream,

I just tested on my Word 2003 installation and it works as you describe
it ought. The result I get is =italicized text=

Which version of Word are you using?

Is the italicized text just "regular text", or is there something special
about it?
I have a macro that extracts footnotes out of a Word document.
It is functioning fine but I'm trying to enhance it by subbing the
italicized words and phrases with some delimiters so that I can process
the footnotes with some other software.
So I tried this find/replace operation using the dialog box to test:

find what: <empty>, Italics set
replace with: =^&=

The italicized phrases are selected okay but if I hit the replace
button, the two equal signs are inserted after the phrase:

italicized text==

instead of

=italicized text=

Anybody know a solution around this?
Is there some other setting or expression construct I should be using?

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 :)
 
J

Jay Freedman

It might be Word 2007 beta 2. There is such a bug there, and the fix has
been stated to be in a later build. I have it on my list to confirm in B2TR
whenever that arrives.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
D

Dave

I tried my test on Word SP1.
I just tried it on a laptop with Word (not SP1) and it worked as
expected.

I guess I'll have to look for some later upgrades or something. Very
annoying.

Dave
 
C

Cindy M.

Hi Dave,
I tried my test on Word SP1.
I just tried it on a laptop with Word (not SP1) and it worked as
expected.
Word 2003 SP1? (The last four versions of Word have had SR and SP
"upgrades"... The number is usually more important). FWIW, the
installation I tested on has SP1 (not SP2) installed.

As the next trouble-shooting step, I'd try starting Word in Safe
Mode (hold the CTRL key down). If it works as it ought in Safe
Mode, then you most likely have an Addin that's interfering with
the functionality.

The next thing to try is booting Windows in Safe Mode.

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