Thread: [Solved] Macro to change font size
View Single Post
 
Old 06-29-2023, 12:07 PM
Teknogamer Teknogamer is offline Windows 11 Office 2016
Novice
 
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