I have applied conditional formatting to data stored in a range cells in a Worksheet when the value of cells match the value of a cells within a separate range.
(eg Apply CF to all cells in Range C2:M20 whose value matches any value of a cell in Range B2:B8). Using a unique value (in Cell B1 in this example), the values of the rangeare called into corresponding TextBoxes in a User Form.
Note: There are a number of sets of such data in the Worksheet which will be called separately using the unique value (e.g. Week 1, Week 2 etc)
I am wondering if it possible to apply the same conditional formatting to corresponding textboxes in a user Form when the data is called from the Worksheet either by
a) Maintaining the existing CF and passing this directly to the Text Box or
b) to apply VBA code to each TextBox to match the CF rules in the Worksheet.
This is not essential but if it is possible I would be grateful if someone could point me in the right direction so I can make some investigations to possible solutions (Sample code is always welcome!)
Many thanks
(eg Apply CF to all cells in Range C2:M20 whose value matches any value of a cell in Range B2:B8). Using a unique value (in Cell B1 in this example), the values of the rangeare called into corresponding TextBoxes in a User Form.
Note: There are a number of sets of such data in the Worksheet which will be called separately using the unique value (e.g. Week 1, Week 2 etc)
I am wondering if it possible to apply the same conditional formatting to corresponding textboxes in a user Form when the data is called from the Worksheet either by
a) Maintaining the existing CF and passing this directly to the Text Box or
b) to apply VBA code to each TextBox to match the CF rules in the Worksheet.
This is not essential but if it is possible I would be grateful if someone could point me in the right direction so I can make some investigations to possible solutions (Sample code is always welcome!)
Many thanks