Subscript/Superscript Hotkey for Excel 2010 Macro?

Posted by advs89 on Super User See other posts from Super User or by advs89
Published on 2011-04-07T00:19:47Z Indexed on 2012/09/29 3:42 UTC
Read the original article Hit count: 173

Filed under:
|
|
|

Background

In Excel 2010, for some ridiculous reason, there is no built-in hotkey (or even a button on the toolbar) for subscripting/superscripting text within a text cell.

You can, however, highlight the text, right-click the selection, click format, and then check the [x] subscript or [x] superscript checkbox.

Question

Are there any kinds of excel macros or workarounds to map two keyboard hotkeys to the subscript and superscript keys, respectively?

(It should only be, like, two lines of code - one for the event handler and one for the actual procedure call... I would write one myself but my VBA is rusty, at best, and I am pretty confident there is probably already some kind of solution, despite my inability to find one via search engine)

Thanks for any help you can provide!

© Super User or respective owner

Related posts about microsoft-excel

Related posts about macros