![]() |
|
|
|
#1
|
||||
|
||||
|
Since your endnotes don't actually have any content, there is nothing to cut.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Thank you. I'd been fiddling around with it on a test text, and noticed that indeed the notes have to contain text for it to work. (For my slightly odd purposes, I don't need actual text in the endnotes, but that's no problem. I can add dummy text and as soon as it's unliked it's easy enough to delete.)
In another version of Word it also balked at these lines: .Style = "Endnote Text" .Words.First.Style = "Endnote Reference" Presumably this is because I have no "Endnote text" style defined in Word, or is that supposed to be a default style that's always there? In any case, when I cut these two lines the macro did seem to work just fine. (For my purposes at least. I hope it is not doing something wrong that I haven't noticed yet. :-) |
|
#3
|
|||
|
|||
|
I used the above script, but some of the text deletion happened in the output.
Input: EX: Some Text 1 <Heading> Endnote Chapter 1 1 Endnote Text The output showed like below: Heading> Endnote Chapter 1 1 Endnote Text Can you please let me know how to retain the deleted text "<". Sample Doc file attached. Please check and let me know. Thanks in advance, Bhaskar Last edited by Bhaskaran; 07-11-2016 at 06:47 AM. Reason: Sample file attached |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to convert text to endnote?
|
Orifacious | Word VBA | 27 | 03-29-2022 02:58 PM |
Convert - EndNote to Word's endnotes
|
Boatwrenchv8 | Word | 3 | 05-17-2012 04:56 PM |
Endnote in footnote?
|
kerstin | Word | 2 | 06-26-2011 11:23 PM |
Cross-reference endnote text
|
smed | Word | 3 | 01-14-2011 03:34 PM |
| How do I have headers and footers appear as regular text for the whole document? | user908045 | Word | 0 | 03-13-2010 12:41 PM |