Change Font color in UserForm Textbox for new text and retain to copy to cell on worksheet

DThib

Active Member
Joined
Mar 19, 2010
Messages
464
Office Version
  1. 365
Platform
  1. Windows
Hello all,

This may be simple or impossible, I do not know.
I have a Userform textbox that copies data from a table. The box can have data added before it is copied back to the cell. If that happens I would like the data created in the UserForm to turn red and leave the original text
untouched.
Is there a code to do this?

DThib
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I am guessing there is no answer to this.
The highlighted line would be added after the project is accepted. The user enters today's date and the information. Another button replaces what is in the cell it was drawn from and I need the highlighted line to be red, the rest of the text black.

TB for font color.jpg


Anyone?

DThib
 
Upvote 0
Changing a TextBox's Font, ForeColor or BackColor property affects the entire text within that TextBox.
It's not possible to provide parts of text with a different color.
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,826
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top