Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / May 2004

Tip: Looking for answers? Try searching our database.

embedded endnotes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bob adler - 28 Apr 2004 17:14 GMT
Hi:
I'm copy-editing a journal article with embedded endnotes
(Word 2000; Windows XP).
The web designer, who puts the article on the web, wants
the endnotes NOT embedded.
Is there a macro or other simple way to UNembed the
endnotes?
Thanks,
Bob Adler
Robert M. Franz (RMF) - 29 Apr 2004 00:16 GMT
Hi Bob

> I'm copy-editing a journal article with embedded endnotes
> (Word 2000; Windows XP).
> The web designer, who puts the article on the web, wants
> the endnotes NOT embedded.
> Is there a macro or other simple way to UNembed the
> endnotes?

Starting from Normal view, I'd probably go into View |
Footnotes/Endnotes, and copy them all out into an empty document. If you
have troubles with the numbering not restarting correctly, either a
Ctrl+Q or a deletion (Alt-Select with mouse, cut) and subsequent renewal
of the numbering (apply a numbering via toolbar or a numbered style)
should do the trick.

Greetinx
.bob
..Word-MVP
Signature

 /"\  ASCII Ribbon Campaign
 \ /
  X        Against HTML
 / \     in e-mail & news

bob adler - 29 Apr 2004 01:14 GMT
Hi, Robert, and thank you.
I'm halfway (more or less) there:
I copied the endnotes into a new document.  Each endnote
(as you anticipated) has the same superscript number (1)
before it.  I tried using Alt + Select (of which I was
previously unaware) to select a vertical line of the
superscript number 1s to delete them but wherever the
endnote exceeded one line of text, the succeeding lines
of text had been lined up under the note number.  Their
first letters got deleted with the numbers.

If I could delete only the numbers I'd be able, as you
suggest, to format>number them anew.
Can you help?
Thanks, again.
Bob Adler
>-----Original Message-----
>Hi Bob
[quoted text clipped - 16 lines]
>..bob
>...Word-MVP
Robert M. Franz (RMF) - 29 Apr 2004 21:39 GMT
Hi Bob

> I'm halfway (more or less) there:
> I copied the endnotes into a new document.  Each endnote
[quoted text clipped - 8 lines]
> If I could delete only the numbers I'd be able, as you
> suggest, to format>number them anew.

The quickest way is possibly to select all you got in that endnote-only
document (CTRL A) and format the paragraph to have a hanging indent of,
say, half a cm (or inch, if you're from that part of the world :-)).
Doesn't matter, just has to be easily more room than the the [1]s.

Now the selection will be easy.

The purists amongst us would of course change the underlying style
instead of the paragraph (then you don't have to select anything first),
but that won't be necessary here, I reckon.

An alltogether different approach would be to try search/replace-ing the
numbers with a wildcard search. Since the roundabout looks quicker, not
really worth the effort unless you're really fluent with word's RegEx.

2cents
.bob
..Word-MVP
Signature

 /"\  ASCII Ribbon Campaign
 \ /
  X        Against HTML
 / \     in e-mail & news

- 30 Apr 2004 01:16 GMT
Hi, Robert.
Works for me.  Thanks.  Now, if I only knew what RegEx
was...
Bob
PS: I hope this is not HTML
>-----Original Message-----
>Hi Bob
[quoted text clipped - 30 lines]
>..bob
>...Word-MVP
bob adler - 30 Apr 2004 17:17 GMT
Hi, Robert.
I hope I'm not wearing you out with this.
I started recording a macro to automate your
instructions.  I got to the point where the endnotes in
the new document were selected and the hanging indent was
created.  BUT, I couldn't deselect the text (so that I
could then Alt+mouse-select the endnotes prior to
deleting them).  How can I deselect text while the record
macro is running?
Thanks, again.
Best,
Bob
>-----Original Message-----
>Hi Bob
[quoted text clipped - 30 lines]
>..bob
>...Word-MVP
Robert M. Franz (RMF) - 01 May 2004 20:13 GMT
HI Bob

> I started recording a macro to automate your
> instructions.  

Oh, I wasn't aware that you were looking for way to automate this
(didn't sound like a recurring issue :-)).

> I got to the point where the endnotes in
> the new document were selected and the hanging indent was
> created.  BUT, I couldn't deselect the text (so that I
> could then Alt+mouse-select the endnotes prior to
> deleting them).  How can I deselect text while the record
> macro is running?

I'm not sure you can do this in VBA – but this doesn't mean anythign,
really! If none else jumps in here, I suggest you go ask in the .vba group.

Greetinx
.bob
..Word-MVP
...if the Alt-Selection doesn't work in VBA, the searching with Regular
Expressions will have to be implemented.
Signature

 /"\  ASCII Ribbon Campaign
 \ /
  X        Against HTML
 / \     in e-mail & news

bob adler - 01 May 2004 22:37 GMT
Hi, Robert.
Thanks.  Will do. (Recurring)
Best,
bob
>-----Original Message-----
>HI Bob
[quoted text clipped - 13 lines]
>
>I'm not sure you can do this in VBA - but this doesn't
mean anythign,
>really! If none else jumps in here, I suggest you go ask in the .vba group.
>
[quoted text clipped - 3 lines]
>....if the Alt-Selection doesn't work in VBA, the searching with Regular
>Expressions will have to be implemented.
Doug Robbins - Word MVP - 02 May 2004 01:29 GMT
I gave you a macro in the vba newsgroup.  In that post however you did not
mention the booknote references that the printer may want deleted from the
text as well.  If he does, then use:

Dim Source As Document, Target As Document, aen As Endnote, i As Integer
Set Source = ActiveDocument
Set Target = Documents.Add
i = 1
For Each aen In Source.Endnotes
   Target.Range.InsertAfter i & "." & vbTab & aen.Range & vbCr
   i = i + 1
   aen.Reference.Delete
Next aen
Dialogs(wdDialogFileSaveAs).Show

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

> Hi, Robert.
> Thanks.  Will do. (Recurring)
[quoted text clipped - 30 lines]
> searching with Regular
> >Expressions will have to be implemented.
bob adler - 02 May 2004 16:09 GMT
Hi, Doug:
Just got it there.  Thanks for all.
Bob Adler
>-----Original Message-----
>I gave you a macro in the vba newsgroup.  In that post however you did not
[quoted text clipped - 48 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.