Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2022, 07:01 AM
macropod's Avatar
macropod macropod is online now Macro to change font size of Footnote Reference in Footnote Text Windows 10 Macro to change font size of Footnote Reference in Footnote Text Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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


Quote:
Originally Posted by TheBigBoss View Post
"Footnote Text" is of font size 9pt. Therefore, the "Footnote Reference" in the footnote will be 9pt superscript. However, I need it to be 10pt superscript and "Footnote Text" to remain 9pt.
If you try to do that by modifying the "Footnote Reference" Style, you'll end up with 9pt superscript in the document body as well.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-09-2022, 08:20 AM
TheBigBoss TheBigBoss is offline Macro to change font size of Footnote Reference in Footnote Text Windows 7 32bit Macro to change font size of Footnote Reference in Footnote Text Office 2010 32bit
Advanced Beginner
Macro to change font size of Footnote Reference in Footnote Text
 
Join Date: Dec 2016
Posts: 56
TheBigBoss is on a distinguished road
Default

Exactly.

Font size in body is 10pt so footnote reference is 10pt superscript in body (which is fine)
Footnote text is 9pt so footnote reference in footnote is 9pt superscript, but I need it to be 10pt superscript (therefore not following the standard rules).
I can't change styles, so a manual change is required which I want to automate.

I will code tonight but I wonder I better use a regex or is an easier way to get to the "Footnote Reference" (is it a field, a bookmark, a style, ?)
a) parse footnotes one by one;
b) range/select the "Footnote Reference" OR regex on footnote paragraph text ?
c) change font size to 10pt superscript

Cheers
Reply With Quote
  #3  
Old 06-10-2022, 06:14 AM
macropod's Avatar
macropod macropod is online now Macro to change font size of Footnote Reference in Footnote Text Windows 10 Macro to change font size of Footnote Reference in Footnote Text Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Quote:
Originally Posted by TheBigBoss View Post
Font size in body is 10pt so footnote reference is 10pt superscript in body (which is fine)
Footnote text is 9pt so footnote reference in footnote is 9pt superscript, but I need it to be 10pt superscript (therefore not following the standard rules).
Which is precisely the situation where a change in the Style definition is all you need...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to change font size of Footnote Reference in Footnote Text Removing line break and indentation between footnote number and footnote text in Word jaanross Word 5 02-06-2020 12:04 AM
VBA - change font and font size for Word footnote thomasoj Word VBA 1 01-15-2020 02:37 AM
Macro to change font size of Footnote Reference in Footnote Text Adding footnote number as part of footnote text NoCalScribe Word VBA 3 07-15-2019 07:20 PM
Macro to change font size of Footnote Reference in Footnote Text Space between footnote number and footnote text Sabya Word 6 07-29-2018 02:30 PM
Macro to change font size of Footnote Reference in Footnote Text How to change the font of footnote numbering? mudum Word 2 12-03-2015 06:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:20 PM.


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