Select Case
- From: "Dale" <D-Man>
- Date: Wed, 4 May 2005 17:54:00 -0500
Hello all,
I can't seem to figure out why the second case doesnt work properly. Could
someone give me a hint what I'm doing wrong? There is no syntax error.
I've tested it (the second case) with an obvious choice that should cause it
to function but in F8'ing, all seems as it should, but it simply doesn't
catch. What am I missing? It's probably the dumbest thing.
Select Case DLB_Template.Text
Case "IJNPST", "WANPST", "IJNPST3", "1UPNPST", "NODLB"
If Form1.Segmented.Value = "1" Then
MsgBox "Improper DLB Template choice for a segmented job!",
vbOKOnly, "Choose again " & Form1.Employee
Exit Sub
End If
Case InStr(1, DLB_Template.Text, "SEG", 1) <> 0
If Form1.Segmented.Value = "1" Then
MsgBox "This DLB template is already set up for job
segmentation. All bets are off!" _
& vbCrLf & "You should choose another DLB Template file!" &
vbCrLf & "Exiting EXECUTE", vbOKOnly, "Choose again " & Form1.Employee
Exit Sub
End If
End Select
.
- Follow-Ups:
- Re: Select Case
- From: Bob Butler
- Re: Select Case
- Prev by Date: Re: Splash Screen and Image Control Problem
- Next by Date: Re: Select Case
- Previous by thread: What is wrong with this array?
- Next by thread: Re: Select Case
- Index(es):
Relevant Pages
|