Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Button to format selected text as subscript

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?

Thanks,
John
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Button to format selected text as subscript

How about just using John Walkenbach's addin:

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

(Macros that run while you're editting a cell won't do anything useful.)

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?

Thanks,
John


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple version of microsoft excel where is the subscript format? ALEX Excel Discussion (Misc queries) 1 July 12th 06 06:35 AM
how to create a toolbar button to set selected cells to wrap text steveguebert Excel Discussion (Misc queries) 1 December 9th 05 12:34 AM
Superscript Button and Subscript Button Sloth Excel Discussion (Misc queries) 2 August 12th 05 01:58 AM
Button for subscript and superscript in Excel ajkarl Excel Discussion (Misc queries) 1 May 24th 05 11:42 PM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM


All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"