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  

Footnotes



 
 
Thread Tools Display Modes
  #11  
Old September 28th, 2004, 06:09 PM
Klaus Linke
external usenet poster
 
Posts: n/a
Default

Until MS makes that numbering style an option, you could use the macro
below to toggle between regular footnotes and the asterisk footnote style.

If you use the macro, you can't have mixed footnote references (some
AutoNumbered, others custom numbered).
On the other hand, it will fix messed up footnotes if you don't *want*
mixed numbering styles.

Regards,
Klaus


Sub ToggleAsteriskFootnotes()
Dim myFootnote As Footnote
Dim boolCustom As Boolean
Dim i As Long, iOld As Long
' first footnote reference = "*" ?
boolCustom = _
(AscW(ActiveDocument.Footnotes(1).Reference.Text) = 42)
If boolCustom = True Then
For i = ActiveDocument.Footnotes.Count To 1 Step -1
Set myFootnote = ActiveDocument.Footnotes(i)
myFootnote.Range.Copy
myFootnote.Reference.Select
myFootnote.Delete
ActiveDocument.Footnotes.Add Selection.Range
Selection.Footnotes(1).Range.Paste
ActiveDocument.Footnotes(i).Reference.Font.Name = _
ActiveDocument.Styles(wdStyleFootnoteReference).Fo nt.Name
Next i
Else
For i = ActiveDocument.Footnotes.Count To 1 Step -1
iOld = ActiveDocument.Footnotes(i).Index
Set myFootnote = ActiveDocument.Footnotes(i)
myFootnote.Range.Copy
myFootnote.Reference.Select
myFootnote.Delete
ActiveDocument.Footnotes.Add _
Range:=Selection.Range, _
Reference:=String(iOld, "*")
Selection.Footnotes(1).Range.Paste
ActiveDocument.Footnotes(i).Reference.Font.Name = _
ActiveDocument.Styles(wdStyleFootnoteReference).Fo nt.Name
Next i
End If
End Sub


  #12  
Old September 29th, 2004, 02:35 AM
Dayo Mitchell
external usenet poster
 
Posts: n/a
Default

Hey Klaus,

Does this need to be done at the end of writing? What happens if one runs
it, then later goes back and enters more notes?

Dayo

On 9/28/04 10:09 AM, "Klaus Linke" wrote:

Until MS makes that numbering style an option, you could use the macro
below to toggle between regular footnotes and the asterisk footnote style.

If you use the macro, you can't have mixed footnote references (some
AutoNumbered, others custom numbered).
On the other hand, it will fix messed up footnotes if you don't *want*
mixed numbering styles.

Regards,
Klaus


Sub ToggleAsteriskFootnotes()
Dim myFootnote As Footnote
Dim boolCustom As Boolean
Dim i As Long, iOld As Long
' first footnote reference = "*" ?
boolCustom = _
(AscW(ActiveDocument.Footnotes(1).Reference.Text) = 42)
If boolCustom = True Then
For i = ActiveDocument.Footnotes.Count To 1 Step -1
Set myFootnote = ActiveDocument.Footnotes(i)
myFootnote.Range.Copy
myFootnote.Reference.Select
myFootnote.Delete
ActiveDocument.Footnotes.Add Selection.Range
Selection.Footnotes(1).Range.Paste
ActiveDocument.Footnotes(i).Reference.Font.Name = _
ActiveDocument.Styles(wdStyleFootnoteReference).Fo nt.Name
Next i
Else
For i = ActiveDocument.Footnotes.Count To 1 Step -1
iOld = ActiveDocument.Footnotes(i).Index
Set myFootnote = ActiveDocument.Footnotes(i)
myFootnote.Range.Copy
myFootnote.Reference.Select
myFootnote.Delete
ActiveDocument.Footnotes.Add _
Range:=Selection.Range, _
Reference:=String(iOld, "*")
Selection.Footnotes(1).Range.Paste
ActiveDocument.Footnotes(i).Reference.Font.Name = _
ActiveDocument.Styles(wdStyleFootnoteReference).Fo nt.Name
Next i
End If
End Sub



  #13  
Old October 5th, 2004, 06:44 AM
Klaus Linke
external usenet poster
 
Posts: n/a
Default

[re macro to toggle footnote style to multiple asterisks]

Hi Dayo,

Does this need to be done at the end of writing?


Yes, and the macro should change all footnotes to some style (auto-numbered
or multiple asterisks) depending on the first footnote in the text.

What happens if one runs it, then later goes back and
enters more notes?


If you have footnotes of both types (auto-numbered and custom asterisk),
you may have to run it twice to clean up and get the desired style.

Regards,
Klaus


  #14  
Old October 5th, 2004, 12:48 PM
Daiya Mitchell
external usenet poster
 
Posts: n/a
Default

Thanks Klaus.

On 10/4/04 10:44 PM, "Klaus Linke" wrote:

[re macro to toggle footnote style to multiple asterisks]

Hi Dayo,

Does this need to be done at the end of writing?


Yes, and the macro should change all footnotes to some style (auto-numbered
or multiple asterisks) depending on the first footnote in the text.

What happens if one runs it, then later goes back and
enters more notes?


If you have footnotes of both types (auto-numbered and custom asterisk),
you may have to run it twice to clean up and get the desired style.

Regards,
Klaus



  #15  
Old October 6th, 2004, 05:55 AM
Klaus Linke
external usenet poster
 
Posts: n/a
Default

Daiya Mitchell wrote:
Thanks Klaus.


You're welcome... and I do like your new tail: sure looks sexy grin

Klau


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interline BETWEEN footnotes different from interline within footnotes T.S. Formatting Long Documents 5 September 12th, 2004 08:51 PM
how do i get Word footnotes to stay on the page they are cited... jupiter3296 General Discussion 2 August 11th, 2004 10:26 PM
Footnotes and linespacing Lukas Pietsch Formatting Long Documents 3 August 11th, 2004 03:40 PM
Word 2000 footnote problem: footnotes consistently too high (again) Lori Formatting Long Documents 2 May 1st, 2004 07:15 PM


All times are GMT +1. The time now is 05:50 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.