ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data | Validation with VBA (https://www.excelbanter.com/excel-discussion-misc-queries/170126-data-%7C-validation-vba.html)

March

Data | Validation with VBA
 
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

Bob Phillips

Data | Validation with VBA
 
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)



"March" wrote in message
...
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




March

Data | Validation with VBA
 
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


"Bob Phillips" wrote:

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)



"March" wrote in message
...
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





March

Data | Validation with VBA
 
That's ok. I've another solution. Thanks

"Bob Phillips" wrote:

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)



"March" wrote in message
...
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






All times are GMT +1. The time now is 09:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com