I would need to link and nest the lists somehow. Is this possible? How do I
go about doing this?
http://contextures.com/xlDataVal02.html
--
Biff
Microsoft Excel MVP
"Msifit_01" <Msif...@discussions.microsoft.com> wrote in message
news:A922DB0C-4324-48ED...@microsoft.com...
"T. Valko" wrote:
> .
>
--
Biff
Microsoft Excel MVP
"Msifit_01" <Msif...@discussions.microsoft.com> wrote in message
news:5572D51A-A00C-4C32...@microsoft.com...
right click sheet tab>view code>insert this
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> Range("h3").Address Then Exit Sub
Select Case LCase(Target)
Case Is = "a": X = "d,e,f"
Case Is = "b": X = "g,h,i"
Case Is = "c": X = "k,l,m"
Case Else: X = "a,b,c":MsgBox Target 'or other code
End Select
Application.EnableEvents = False
With Target.Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:= _
xlValidAlertStop, Operator:= _
xlBetween, Formula1:=X
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With
Target = ""
Application.EnableEvents = True
End Sub--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"T. Valko" <biffi...@comcast.net> wrote in message
news:ecH%23Tf$gKHA...@TK2MSFTNGP06.phx.gbl...
--
Biff
Microsoft Excel MVP
"Don Guillett" <dguil...@austin.rr.com> wrote in message
news:%23GWhR%23$gKHA...@TK2MSFTNGP05.phx.gbl...
"Don Guillett" wrote:
> .
>
"T. Valko" wrote:
> .
>
That's how I interpreted your question.
>Does what Don provided me with not do that?
Correct, it does not produce a cascading list. It has a top level list of
a,b or c. Once you select one of those then a new list is generated with
selections related to a,b or c.
The only way to do what you want that I know of is to use dependent lists
which use separate cells as is described in the link I posted.
You might be able to use a set of user forms to get the cascading effect but
that's beyond my skill level.
--
Biff
Microsoft Excel MVP
"Msifit_01" <Msif...@discussions.microsoft.com> wrote in message
news:EF7D051E-C1AB-4F1A...@microsoft.com...
"T. Valko" wrote:
> .
>