Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kt
 
Posts: n/a
Default How to create automatic subscript/superscript as you type?

the same way as in Word, for example, when typing CO2, it will automatically
change to CO(subscript)2

I know how to do that with symbol in AutoCorrect fuction, but no idea with
subscript...

anybody?
  #2   Report Post  
kt
 
Posts: n/a
Default

Also, I'm aware of the J-Walk add-in.. but you'd have to select and change
one cell at a time which is not very convenient for me because I have
equations x1+ x2 + x3 ... etc. throughout the worksheet...
  #3   Report Post  
Mark
 
Posts: n/a
Default

The only way to do it is to select the 2 in CO2 then
Format Cells then checkmark Subscripts.

When you select the cell, do not use the address bar. You
have to double-click the cell and highlight the number
only then format it as subscript. You can change its font
size and color too.

Do not tell anyone. This is a secret worth thousands of
dollars.



- mark

How about select the number then change the fon
-----Original Message-----
the same way as in Word, for example, when typing CO2, it

will automatically
change to CO(subscript)2

I know how to do that with symbol in AutoCorrect fuction,

but no idea with
subscript...

anybody?
.

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

There's no macro you can use.

When you're typing in a cell (or the formula bar), no meaningful macro can be
running.

If your strings were always the same format, you could have a macro run that
parses your string, picks out the characters that should be
superscripted/subscripted and puts it back.

But I think you'd need to say what the rules are for parsing the string.



kt wrote:

Also, I'm aware of the J-Walk add-in.. but you'd have to select and change
one cell at a time which is not very convenient for me because I have
equations x1+ x2 + x3 ... etc. throughout the worksheet...


--

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
Automatic backup copy craigq Charts and Charting in Excel 2 April 11th 05 04:57 PM
Pivot Chart: cannot apply the default chart type... doco Charts and Charting in Excel 1 January 17th 05 04:55 PM
How do I create a bar graph with floating bars? Rocco Charts and Charting in Excel 1 January 12th 05 06:26 PM
Adding a line Chart Type to a stacked-clustered Chart Type Debbie Charts and Charting in Excel 2 January 5th 05 11:25 PM
create a chart with a formula anon Charts and Charting in Excel 1 December 15th 04 08:55 PM


All times are GMT +1. The time now is 08:44 PM.

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

About Us

"It's about Microsoft Excel"