ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Selective formatting of text on Label caption (https://www.excelbanter.com/excel-programming/352949-selective-formatting-text-label-caption.html)

Myles[_47_]

Selective formatting of text on Label caption
 

I am looking for a way to format the caption of a Label but only in
part. Suppose, by way of illustration, my text is: Enter Integers
without commas. How can I format this to become [Enter Integers
*-without commas-*].

Note that if the text were carried by an object (such as Range), we
could quite easily use the Chracter property thus:
<range.Characters(15, 14).Font.Bold=True
<range.Characters(15, 14).Font.Italic=True

Any help will be appreciated.

myles


--
Myles
------------------------------------------------------------------------
Myles's Profile: http://www.excelforum.com/member.php...o&userid=28746
View this thread: http://www.excelforum.com/showthread...hreadid=510891



All times are GMT +1. The time now is 08:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com