Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I change the font or alignment of text in a label object in a custom dialog box?

0
Posted

How can I change the font or alignment of text in a label object in a custom dialog box?

0

You can’t. But there are two good alternatives. One approach is to use a text box in your dialog box. Although text boxes are normally used in worksheets, they work perfectly well in dialog boxes. And you can format them any way you like. The other alternative is to use a linked picture. Create the text you want to display in a worksheet range and then copy the range to the Clipboard. Then activate your dialog sheet, hold down Shift, and choose the Edit Paste Picture Link command. This creates a picture object that displays the current contents of the linked range – including all of its formatting.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123