Hi, everybody.
Probably there is an easy solution, or maybe there no solution as well, to this problem.
The scenario is simple: I have a cell (well, many others with the same issue, but this doesn't matter) in a sheet with a formula that create a text in different ways dependoing on other cells content.
I'd like to format the inner text with a character superscript, but because of the formula, my simple code doesn't change nothing in the text.
The cell has a text format.
This the code:
Inside the cell there is a formula like this:
and the final text showed to the user is "[BTU/f3]".
I'd like to put the "3" in the text to superscript.
Is it possible?
Probably there is an easy solution, or maybe there no solution as well, to this problem.
The scenario is simple: I have a cell (well, many others with the same issue, but this doesn't matter) in a sheet with a formula that create a text in different ways dependoing on other cells content.
I'd like to format the inner text with a character superscript, but because of the formula, my simple code doesn't change nothing in the text.
The cell has a text format.
This the code:
VBA Code:
Set area = Cells(80, 1)
'area.NumberFormat = "@"
area.Characters(Start:=7, Length:=1).Font.Superscript = True
Excel Formula:
="[" & INDICE(Tab_lingue;Lingua;100) &"]"
I'd like to put the "3" in the text to superscript.
Is it possible?