Hello,
Shortcut keys --> Alt+F11 to open VBEditor
Keystrokes --> Alt - I - M to insert Standard Module
Paste in the below code
Within the VBEditor press F5 to run
Or
Close the VBEditor, Shortcut Keys ALT+F8 to run
This code may be called by other means including assingning to a button
Code:
Sub Super()
With ActiveCell.Font
If .Superscript = False Then
.Superscript = True
Else
.Superscript = False
End If
' If .Subscript = False Then
' .Subscript = True
' Else
' .Subscript = False
' End If
End With
End Sub
A button may be used to call a macro, in the case of the code above, superscript would be toggled on/off.
-Jeff