#1
|
|||
|
|||
Footnote aligned with decimal
Hey Guys,
I found some code that gives me the type of number and period for footnotes that I like, but I cannot get the decimals to line up such as in single and double digits. I.E. 9. 10. I have messed with the style and it does not seem to effect it. Here's the code- Code:
Sub InsertFootnote() ActiveDocument.Footnotes.Add Range:=Selection.Range With Selection .Paragraphs(1).Range.Font.Reset .Paragraphs(1).Range.Characters(2) = "" .InsertAfter ". " & vbTab .Collapse wdCollapseEnd End With End Sub |
#2
|
|||
|
|||
Quote:
If you want text to be aligned at the dot, you need to insert a "Right Tab" at the dot and type a "Tab" key before the number. Sorry, I can't say if this can be done with VBA but I presume it can. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Left Leading $ with decimal aligned numbers | rosen.j | Mail Merge | 2 | 01-19-2021 05:03 PM |
Rtl text aligned right and ltr text aligned to left in one line - HOW? | wordnew | Word | 10 | 09-06-2020 08:23 AM |
Removing line break and indentation between footnote number and footnote text in Word | jaanross | Word | 5 | 02-06-2020 12:04 AM |
Pulling 2 digits before a decimal point from adjoining cell then zeros after decimal | jadess916 | Excel | 1 | 06-26-2014 03:48 AM |
Footnote text is not aligned with the corresponding number | Patrick1988 | Word | 0 | 08-28-2010 09:33 PM |