Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 06-01-2011, 07:48 PM
macropod's Avatar
macropod macropod is offline Macro to convert text to endnote? Windows 7 32bit Macro to convert text to endnote? Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Orifacious View Post
Is there any way to make it hi-light the placemarker for the endnote in the main text? I find those little guys hard to see in a big text file, and usually hi-light them yellow.
For that you could modify the 'Endnote Reference' Style to have, say, a bold font and yellow shading.
Quote:
Originally Posted by Orifacious View Post
One minor problem is that the macro doesn't pause at each found instance (and give the option to perform the conversion or else move to the next found instance), but just zips right through the whole file like a bullet.

I have occasionally used those same brackets ( "< >" ) to indicate other things as well --I know, sloppy, and a bad symbol to use anyway, since it's prone to be interpreted in macros as a find function switch rather than an actual character-- so it would be nice if I could pause at each find and decide on a per case basis to perform the endnote conversion or not.
Yes, how sloppy of you

Rather than complicating the macro further, you could use a wildcard Find/Replace with:
Find = (\<)([!\>\<]{1,})(\>)
Replace = {\2}
to change the '<*>' strings you don't want converted to endnotes to '{*}' strings (use something other than '{' and '}' if those characters are already in use), stepping through the Find/Replace process. Then run the macro. If you want to get the '<*>' strings back again afterwards, simply reverse the Find/replace process:
Find = (\{)([!\}\{]{1,})(\})
Replace = <\2>
and this time you won't need to step through.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
convert text to endnote, macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to convert text to endnote? Creating macro to convert/print to pdf shabbaranks Word 3 05-18-2011 08:59 AM
Macro to convert text to endnote? Cross-reference endnote text smed Word 3 01-14-2011 03:34 PM
convert html to text at opening etfjr Word 0 12-13-2010 11:14 AM
Convert Number to Text devcon Word 0 07-10-2010 01:16 AM
Convert Dollar amount to text GeorgeLawshe Word 0 03-07-2010 10:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft