Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2014, 02:34 AM
geirrosset geirrosset is offline Formatting footnotes causes double footnote numbers Mac OS X Formatting footnotes causes double footnote numbers Office for Mac 2011
Novice
Formatting footnotes causes double footnote numbers
 
Join Date: Oct 2014
Posts: 3
geirrosset is on a distinguished road
Default Formatting footnotes causes double footnote numbers

So I am trying to clean up and format a 450 page book containing 1300 footnotes. Normally I would do this in QuarkXPress, but time contraints mean I have to just clean it up in word and create a PDF for print.

All footnotes are formatted as #[space]Footnote text.

I need it to be #.[tab]Footnote text.

Trying to use the insert footnote dialogue to format the numbering causes Word to insert new footnote numbers in addition to the ones already there.

Is there any way to do a search for and replace using some sort of tag? LIke searching for "[paragraph break][footnote number][space]" and replacing it with "[paragraph break][footnote number].[tab]"?



Best regards
Geir Rosset
Oslo Norway
Reply With Quote
  #2  
Old 10-28-2014, 04:39 PM
macropod's Avatar
macropod macropod is offline Formatting footnotes causes double footnote numbers Windows 7 64bit Formatting footnotes causes double footnote numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

You could use a macro like:
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim FtNt As Footnote
For Each FtNt In ActiveDocument.Footnotes
  With FtNt.Range.Characters.First.Previous
    If .Text = " " Then .Text = vbTab
  End With
Next
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-29-2014, 02:22 AM
geirrosset geirrosset is offline Formatting footnotes causes double footnote numbers Mac OS X Formatting footnotes causes double footnote numbers Office for Mac 2011
Novice
Formatting footnotes causes double footnote numbers
 
Join Date: Oct 2014
Posts: 3
geirrosset is on a distinguished road
Default

Yes. That is almost perfect. How do I get the period [.] in there in front of the tab. Sorry, I don't know the syntax for word macros.
Reply With Quote
  #4  
Old 10-29-2014, 04:41 AM
macropod's Avatar
macropod macropod is offline Formatting footnotes causes double footnote numbers Windows 7 64bit Formatting footnotes causes double footnote numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Word doesn't insert a period as part of the footnote number, so where is it coming from? Can you attach a document to a post with some representative content (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 10-29-2014, 04:46 AM
geirrosset geirrosset is offline Formatting footnotes causes double footnote numbers Mac OS X Formatting footnotes causes double footnote numbers Office for Mac 2011
Novice
Formatting footnotes causes double footnote numbers
 
Join Date: Oct 2014
Posts: 3
geirrosset is on a distinguished road
Default

No it doesn't, but I need one. Like this: [Footnote number].[tab][Footnote text]. So in your macro I need it to insert a period in front of vbTab. Could it say: If .Text = " " Then .Text = "."vbTab?
Reply With Quote
  #6  
Old 10-29-2014, 05:08 AM
macropod's Avatar
macropod macropod is offline Formatting footnotes causes double footnote numbers Windows 7 64bit Formatting footnotes causes double footnote numbers Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

OK, you could just change:
.Text = vbTab
to:
.Text = "." & vbTab
but, if you want the period superscripted to match the footnote #, you'll need to replace:
If .Text = " " Then .Text = vbTab
with:
Code:
    If .Text = " " Then
      .Font.Superscript = True
      .Text = "." & vbTab
    End If
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
footnotes, formatting problem

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find text only footnote numbers TimFromPhx Word VBA 7 04-10-2014 07:05 PM
Editing the whole Bible and accounting for all changes as footnotes + footnote index alexs Word 0 09-08-2013 09:36 PM
Formatting a table with double borders qwertyas PowerPoint 2 05-02-2012 05:10 AM
Footnote Sequence, with asterisk, dagger, double dagger DBinSJ Word 3 01-02-2012 07:48 PM
automatically extract footnotes into new file and apply character format to footnote hrdwa Word 0 02-27-2010 03:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:52 PM.


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