Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default 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




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"