ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I make toggling shortcut keys for superscript and subscript? (https://www.excelbanter.com/excel-programming/318766-how-do-i-make-toggling-shortcut-keys-superscript-subscript.html)

Mann Lee

How do I make toggling shortcut keys for superscript and subscript?
 
We all know there are built-in shortcut keys for Font.underline
[CTRL+u], .italic [CTRL+i], .bold [CTRL+b]and corresponding toolbar
buttons in Excel.
They are toggling shortcut keys which even work during typing/editing
in a cell, which is very convenient.
I've been struggling to make such shortcut keys for superscript and
subscript, without success.
Would anyone kindly tell me how?
I am only beginning to learn EXCEL 2000 VBA and ACCESS 2000 VBA.

Bob Phillips[_6_]

How do I make toggling shortcut keys for superscript and subscript?
 
See the response to your post in .misc earlier today.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mann Lee" wrote in message
om...
We all know there are built-in shortcut keys for Font.underline
[CTRL+u], .italic [CTRL+i], .bold [CTRL+b]and corresponding toolbar
buttons in Excel.
They are toggling shortcut keys which even work during typing/editing
in a cell, which is very convenient.
I've been struggling to make such shortcut keys for superscript and
subscript, without success.
Would anyone kindly tell me how?
I am only beginning to learn EXCEL 2000 VBA and ACCESS 2000 VBA.




Sharad

How do I make toggling shortcut keys for superscript and subscript?
 
In Excel it is not directly possible.

For exactly same purpose, a couple of year ago I had made an
personal.xls.
The user has to select the cell in which he wants some of the characters
to be super or sub scripted. (But select only a cell not double clilck
it to go in edit mode.)
Then he has to click on a custom button on the tool bar,
a form pops up asking to select the characters and click on
either superscript or subscript and accodrdingly the selected characters
get super or sub scripted.

If you are ineterested I can trace this personal.xls and send to you.
But give me a 2-3 days time for it.

Sharad

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com