A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Editing an index



 
 
Thread Tools Display Modes
  #1  
Old February 15th, 2008, 05:04 AM
pamay pamay is offline
Member
 
First recorded activity by OfficeFrustration: Feb 2008
Location: NSW, Australia
Posts: 7
Question Editing an index

I am working on a document that is several hundred pages long, it contains first names with surnames which will have to be indexed. In the document the surname is last, in the index I need the surname to be first, I know I can change it as I manually index the names, however is it possible to edit the final index - I am thinking if I can edit the final document I could use a macro to do most of the work rather than doing each entry as I index.
Does this make sense?
  #2  
Old February 16th, 2008, 02:05 AM posted to microsoft.public.word.formatting.longdocs
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Editing an index

On Fri, 15 Feb 2008 05:04:20 +0000, pamay
wrote:


I am working on a document that is several hundred pages long, it
contains first names with surnames which will have to be indexed. In
the document the surname is last, in the index I need the surname to be
first, I know I can change it as I manually index the names, however is
it possible to edit the final index - I am thinking if I can edit the
final document I could use a macro to do most of the work rather than
doing each entry as I index.
Does this make sense?


You can put the cursor in the index and press Ctrl+Shift+F9 to unlink the Index
field and turn its result into plain text. That can be edited in any way you
like.

I'll suggest that you unlink the index, copy the text to the clipboard, and
paste it into a new blank document. Immediately go back to the original document
and Undo (Ctrl+Z) to restore the Index field, and close that document. Make at
least one backup copy of the unchanged plain-text index. Do all your editing and
macro manipulations in the plain-text version; if something goes wrong, you can
throw it away and make a new copy from the backup. And if anything goes wrong
with the backup, you still have the original Index field that you can unlink
again. Only at the very end should you replace the Index field in the original
document with the edited version. Oh, and did I mention making a backup or two?

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
  #3  
Old February 16th, 2008, 06:44 AM
pamay pamay is offline
Member
 
First recorded activity by OfficeFrustration: Feb 2008
Location: NSW, Australia
Posts: 7
Default

Quote:
Originally Posted by Jay Freedman View Post
On Fri, 15 Feb 2008 05:04:20 +0000, pamay
wrote:


I am working on a document that is several hundred pages long, it
contains first names with surnames which will have to be indexed. In
the document the surname is last, in the index I need the surname to be
first, I know I can change it as I manually index the names, however is
it possible to edit the final index - I am thinking if I can edit the
final document I could use a macro to do most of the work rather than
doing each entry as I index.
Does this make sense?


You can put the cursor in the index and press Ctrl+Shift+F9 to unlink the Index
field and turn its result into plain text. That can be edited in any way you
like.

I'll suggest that you unlink the index, copy the text to the clipboard, and
paste it into a new blank document. Immediately go back to the original document
and Undo (Ctrl+Z) to restore the Index field, and close that document. Make at
least one backup copy of the unchanged plain-text index. Do all your editing and
macro manipulations in the plain-text version; if something goes wrong, you can
throw it away and make a new copy from the backup. And if anything goes wrong
with the backup, you still have the original Index field that you can unlink
again. Only at the very end should you replace the Index field in the original
document with the edited version. Oh, and did I mention making a backup or two?

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Thanks Jay for that solution, makes my job easier. All my work is backed up every night on a 2nd hard drive, I learnt a long time ago its the best way to avoid buckets of tears.
Cheers and thanks
Patricia
  #4  
Old February 21st, 2008, 01:58 PM posted to microsoft.public.word.formatting.longdocs
Peter A
external usenet poster
 
Posts: 325
Default Editing an index

In article , pamay.1fc4df5
@officefrustration.com says...
Thanks Jay for that solution, makes my job easier. All my work is
backed up every night on a 2nd hard drive, I learnt a long time ago its
the best way to avoid buckets of tears.
Cheers and thanks
Patricia


And then it would be an easy matter to write or record a macro that
would put the last name first in each index entry:

John Q. Public

becomes

Public, John Q.

--
Peter Aitken
Author, MS Word for Medical and Technical Writers
www.tech-word.com
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.