• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Superscript

Hello friends:

Worksheet #1 contains lots of first-names. Really can't tell ya the number of it all.
For instance, the name 'Amanda' may appear a number of times in different cells in the worksheet. Ditto for 'Belinda', Candice, Samantha, & James.
Each name may appear 20 times, 50 times, 99 times,….the list goes on.
I am looking for a solution with the help of a 'superscript'.
For instance I would like the name 'Amanda' to appear in the worksheet as Amanda20. But the number 20 must appear as a superscript.

Thank you. Much appreciated.
 
@BBD
Hi!
In your uploaded file there's a last extra zero in every superscript. Shouldn't you replace this:
Length:=Len(Range("f1")) - i + 1
by this:
Length:=Len(cell) - i + 1
in the procedure test at module Module1?
Regards!
 
@BBD
Hi!
You can also replace this:
Range(cell.address)
by this:
cell
since the same object (cell range) is referenced as the object related to an object address. :eek:
Regards!
 
Hi, James Perry!
Glad you solved it. All credit to BBD who did the dirty job. Thanks for your feedback and for your kind words too. And welcome back whenever needed or wanted.
Regards!
 
Back
Top