Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Lets assume that the validation list for column C is H1 thru H3 (containing
the colors: red, green, blue). Then: Private Sub Worksheet_Change(ByVal Target As Range) Set t = Target Set a = Range("A15:A12000") If Intersect(t, a) Is Nothing Then Exit Sub Application.EnableEvents = False t.Offset(0, 2).Value = Range("H1").Value Application.EnableEvents = True End Sub -- Gary''s Student - gsnu200858 "DimensionAV" wrote: HI I have a couple of range names ProductQuantity and ProductColor (A15:A12000 and C15:12000 respectively), ProductColor are data valitaded cells with a list of colors, I want that after entering a value to ProductQuantity the corresponding row of ProductColor shows the first value of the list. I belive a have to use Worksheet_Change event but how to get/set the value on a datalist cell ? Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Validated Cell Arrow not Appearing | Excel Discussion (Misc queries) | |||
cell data not validated if navigating cell to cell with mouse | Excel Worksheet Functions | |||
Selecting a specific cell (that is data validated) | Excel Programming | |||
be validated or not validated in a cell | Excel Programming | |||
Using macro to add data in specific cell within a table | Excel Programming |