Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks guys, i'll test your suggestions and let you know. In my report
it can only be "1st" no "2nd" or "3rd" but thanks anyways. In that case, the macro code can be reduced to this... Sub SuperScriptOrdinals() Dim X As Long, Position As Long, C As Range For Each C In Range("B2:B15") Position = InStr(C.Value, "1st") If Position Then C.Characters(Position + 1, 2).Font.Superscript = True Next End Sub -- Rick (MVP - Excel) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA to superscript a part of a cell | Excel Programming | |||
VBA to superscript a part of a cell | Excel Programming | |||
VBA to superscript a part of a cell | Excel Programming | |||
VBA to superscript a part of a cell | Excel Programming | |||
how do i superscript part of a cell in MS Excel? | Excel Discussion (Misc queries) |