Data | Validation with VBA

  • Thread starter Thread starter March
  • Start date Start date
M

March

Hello All,

I have created a dropdown list in my excel worksheet.

I want to use VBA to change value(s) of the dropdown list in oreder to build
automated function for my project.

I don't know how to start. Please give me suggestion.


March
 
If you are using Data validation, the value is in the cell so you can just
overwrite it

Range("B1").value = "the value"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
let me tell you more info

I try this one

thisWorkbooks.Worksheets("analysis").Range("G31").Value = iCell

iCells is a value that I get from another worksheet in the same workbook.
When run the program, it says "Object required (Err 424)"

It still does not work.

March
 
That's ok. I've another solution. Thanks

Bob Phillips said:
If you are using Data validation, the value is in the cell so you can just
overwrite it

Range("B1").value = "the value"

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top