Ask Your Question

How to change font color of partial string in a dialog textbox

asked 2018-05-20 23:10:54 +0200

hvankampen gravatar image

Is there a way to change the font color of selected text in a textbox? I can select the required text, but cannot seem to find a way to change just that text (not the entire textbox).

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-06-07 20:26:18 +0200

hjek gravatar image

updated 2018-06-07 20:27:22 +0200

In the text box select the part of the text you would like to colourise. Then (assuming your Toolbar Layout is set to Default) click on Properties (the spanner icon) in the side bar, then click the little down arrow to the right of Font Color (the a with a coloured underline) and pick a colour.

edit flag offensive delete link more


Thanks, and apologies, I should have been more clear.

What I mean is, is there a way to change the font color of part of the contents of a textbox in a Calc dialog, via macro code?

hvankampen gravatar imagehvankampen ( 2018-06-08 14:42:17 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-05-20 23:10:54 +0200

Seen: 114 times

Last updated: Jun 07 '18