Hi, Thanks for the replies and suggestions..
ABC and DEF are known, fixed values. Letters in fact. Between the two sets of letters is a number, which will change at various times after the macro is run. I want to make the whole lot bold and then within that, the A a capital, B a subscripted italic lowercase, the C a subscripted capital (non italics). The number will be a two digit value, also in bold. The second set of letters just in bold.
The background to this is that this string is providing the result. Some index letters infront, the result value and then the units.
I've applied the text string version in the locations where the values won't change once the macro has been run - works great.
In this instance the result will change, and in fact the macro puts in the relevant index values in for the given calculation - i.e. dependent on info elsewhere it chooses the correct formula/result type to use and puts in the cell.
I had this all running from the excel cell, but couldn't get the formatting so thought VBA would be the way forward!
This is an extension to an existing worksheet/calc. so I'm trying to avoid splitting across cells/clolumns as this means alot of mucking about elsewhere with the setting out of other info and print areas etc. Also, by fitting it all in one cell means it can all be centered together and will basically look better..
If it simply isn't possible I guess I'll have to split it into different columns etc..
or... would turning it into a function work? (i.e. so it could be posted to the cell as a text string but will update if there is any change to the cells it's dependent on?)
Cheers for the help.. keep it coming :-)