format within a cell

B

BOB

Some cells contains "/" (ie: Ford / Toyota)
I would like to have all the text after the slash in bold.

Is there a code to bold a variable size text after the
slash?
 
B

Bob Phillips

Hi Bob,

Try something like

With ActiveCell
iPos = InStr(1, .Value, "/")
.Characters(iPos + 1, 99).Font.Bold = True
End With

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
B

Bob

Fantastic!!!

Thanks
-----Original Message-----
Hi Bob,

Try something like

With ActiveCell
iPos = InStr(1, .Value, "/")
.Characters(iPos + 1, 99).Font.Bold = True
End With

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)




.
 
Top