ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Automatically change the text color when you check out the checkbo (https://www.excelbanter.com/excel-discussion-misc-queries/54156-automatically-change-text-color-when-you-check-out-checkbo.html)

Dajana

Automatically change the text color when you check out the checkbo
 
I have few checkboxes and what I am trying to do is to write a macro so that
every time I check out one of the check boxes the text (statement) that is
associated with that specific checkbox changes color.
Also I have a macro that automatically copies and pastes info from one sheet
to the other however if the text is in red it will paste it but in automatic
black color. How can I get it paste in color.

jeridbohmann

Automatically change the text color when you check out the checkbo
 
Half the answer: you need to do a "Paste Special" and click on value only.
That way the cell will keep the color format.


"Dajana" wrote:

I have few checkboxes and what I am trying to do is to write a macro so that
every time I check out one of the check boxes the text (statement) that is
associated with that specific checkbox changes color.
Also I have a macro that automatically copies and pastes info from one sheet
to the other however if the text is in red it will paste it but in automatic
black color. How can I get it paste in color.



All times are GMT +1. The time now is 02:29 PM.

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