Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-29-2023, 12:07 PM
Teknogamer Teknogamer is offline Macro to change font size Windows 11 Macro to change font size Office 2016
Novice
Macro to change font size
 
Join Date: Jun 2023
Posts: 11
Teknogamer is on a distinguished road
Default Macro to change font size

Hi, pretty new to macros and was just trying to make a simple one to change the font size of highlighted text. I hit record, changed the font size and then stopped it, and that macro, when activated, did nothing.




If it helps, here's the code for that macro:
Sub Size10()
'
' Size10 Macro
'
'
mySel = Selection.Font.Size
mySel = 10
End Sub


Any help would be appreciated, thanks!
Reply With Quote
 

Tags
macros



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to change font size Macro to change font size of Footnote Reference in Footnote Text TheBigBoss Word VBA 5 06-10-2022 06:14 AM
Macro to change font size VBA - Word how to globally change the font and font size in footnotes thomasoj Word VBA 3 01-15-2020 06:26 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 create macro to change font size to 12.5pt Chuck Barnett Word 5 02-28-2019 07:30 AM
Macro to change font size Looping Macro to Change Font, Font Size, and Give Heading 1 WH7262 Word VBA 1 08-26-2014 03:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:19 AM.


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