View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Button to format selected text as subscript

Macros are suspended when in Edit mode, so a custom button wont' work.

You may want to look at John Walkenbach's SuperSub add-in, which makes
super/sub-scripting a bit easier:

http://j-walk.com/ss/excel/files/supersub.htm



In article ,
(John) wrote:

I would like to create a custom button in XL2k to format the selected
text as subscript, superscript, etc. It would function just like the
built-in buttons in Word. That is, I could select a portion of the
text in a cell's string, hit the button and the selected portion would
be formatted. As is, when I select a portion of the string the macro
menu options are greyed out. I note that the copy and paste buttons
don't grey out. Has anyone found a work around?