![]() |
|
#12
|
||||
|
||||
|
Hi Saints,
You can certainly change the '<' and '>' characters to something else - they're only in the code to meet the OP's requirements. Simply deleting them would be problematic, because the code is written to look for the longest possible string not containing those characters. I'm not sure what you mean with your second question. If all you want to do is to delete the '<' and '>' characters (and, perhaps, remove character formatting from the intervening text), you wouldn't need this kind of macro - a wildcard Find/Replace would do the job, where: Find = \<([!\>\<]{1;})\> Replace = \1 and you set the Replacement font style to 'regular' with no 'effects'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| convert text to endnote, macro |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Creating macro to convert/print to pdf
|
shabbaranks | Word | 3 | 05-18-2011 08:59 AM |
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 |