Question about dates.

superbeast326

Board Regular
Joined
Nov 12, 2011
Messages
132
I have two columns, A and B. Both have 50 rows. Column A is filled entirely with "No". What I want is that the moment I switch a row in Column A to "Yes". I want the row in Column B to store the date that the change was made. Is this possible?
 
Is there a possible line of code that I can use to make the DV cell with a "Yes" into a static cell with the "Yes" value. Will c.value=c.value achieve this?
 
Upvote 0
Is there a possible line of code that I can use to make the DV cell with a "Yes" into a static cell with the "Yes" value. Will c.value=c.value achieve this?
Can you explain in what way my code in post #27 did not already achieve this?
 
Upvote 0
Sorry, what I meant was, is it possible to turn off the DV Lists that are set to "Yes".
Rich (BB code):
If UCase(c.Value) = "YES" Then
    c.Locked = True
    c.Interior.ColorIndex = 35 '<- For testing
    c.Validation.Delete
End If
 
Upvote 0
One final question, is it possible to use VBA to create DV lists.
Sure. Turn on the macro recorder, create the DV manually then turn off the macro recorder. That should at least give you some code to work on.
 
Upvote 0
What I meant was, is it possible to hardcode DV lists with VBA?
As far as I can understand your question, the answer is still the same.
If you don't think that is the answer, then can you be more specific about the problem?
 
Upvote 0

Forum statistics

Threads
1,226,834
Messages
6,193,216
Members
453,780
Latest member
enghoss77

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