VBA change cells based on other cell Text

keiserj

Board Regular
Joined
May 31, 2013
Messages
89
Been lookin around the Forum and cant find what im looking for. If someone could point me in the right direction would be great.

What I have:

Have a Drop Down list of:
AVAIABLE
NOT AVAIABLE
Scheduled Audit

Once a Lead selects a time and changes the cell to "Scheduled Audit" I would like the other cell within that time slot to change to "NOT AVAIABLE" Below is a Example of one day i would have 5 days of the same thing.


Thinking of using a Worksheet_Change but not sure how to get started. New to VBA
any help would be appericated. Thank you in advanced. Also if you have any question or need more information let me know. [TABLE="width: 604"]
<colgroup><col style="width: 189pt; mso-width-source: userset; mso-width-alt: 9216;" width="252"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4022;" span="2" width="110"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4022;" span="3" width="110"> <tbody>[TR]
[TD="class: xl153, width: 252, bgcolor: #4BACC6"] Lead NAMES[/TD]
[TD="class: xl152, width: 110, bgcolor: #4BACC6"]4 am to 5 am[/TD]
[TD="class: xl152, width: 110, bgcolor: #4BACC6"]6 am to 7 am [/TD]
[TD="class: xl151, width: 110, bgcolor: #4BACC6"]10am to 11am[/TD]
[TD="class: xl152, width: 110, bgcolor: #4BACC6"]11am to 12pm[/TD]
[TD="class: xl154, width: 110, bgcolor: #4BACC6"]1pm to 2pm[/TD]
[/TR]
[TR]
[TD="class: xl156, bgcolor: #D9D9D9"]???????[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
[TR]
[TD="class: xl157, bgcolor: #D9D9D9"]????[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
[TR]
[TD="class: xl158, bgcolor: #D9D9D9"]???[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
[TR]
[TD="class: xl158, bgcolor: #D9D9D9"]???[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
[TR]
[TD="class: xl158, bgcolor: #D9D9D9"]???[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
[TR]
[TD="class: xl158, bgcolor: #D9D9D9"]????[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl150"]NOT AVAIABLE[/TD]
[TD="class: xl155"]NOT AVAIABLE[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,224,270
Messages
6,177,574
Members
452,784
Latest member
talippo

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