changing the back color of a textbox on a continuous form (1 Viewer)

Terkpeh1990

Registered User.
Local time
Today, 18:08
Joined
Nov 18, 2017
Messages
24
please am developing this application and have a continuous form with these three textboxes namely procurement_id, request, and status.

i want to be able to change the back color of status textbox to
1. red if it's value "PENDING"
2. green if it's value is "COMPLETED"
3. Yellow if it's value is "YET TO BE PROCESSED"
4. brown if it's value is "SUSPENDED"

please am new to vba . Any help will be greatly appreciated .
 

isladogs

MVP / VIP
Local time
Today, 18:08
Joined
Jan 14, 2017
Messages
18,209
Have you tried conditional formatting? No code needed


Sent from my iPhone using Tapatalk
 

Terkpeh1990

Registered User.
Local time
Today, 18:08
Joined
Nov 18, 2017
Messages
24
Have you tried conditional formatting? No code needed


Sent from my iPhone using Tapatalk

have no idea how to do that . any help can be greatly appreciated . thank you
 

isladogs

MVP / VIP
Local time
Today, 18:08
Joined
Jan 14, 2017
Messages
18,209
Excellent. You obviously worked it out without help.
Good to have a simple solution...:cool:
 

Users who are viewing this thread

Top Bottom