Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Matthew,
Am Wed, 14 Dec 2016 09:24:22 -0800 (PST) schrieb Matthew Dyer: case contains "**No PDF**" 'do stuff case contains "**No Final Package**" 'do different stuff else 'do other different stuff another suggestion: varCheck = Array("No PDF", "No Final Package") For Each rngC In Range("A1:A10") For i = LBound(varCheck) To UBound(varCheck) If InStr(rngC, varCheck(i)) Then Exit For Next Select Case i Case 0 MsgBox " no PDF" Case 1 MsgBox "no package" Case Else MsgBox "Other" End Select Next Regards Claus B. -- Windows10 Office 2016 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Case not recognized in Select Case | Excel Programming | |||
Select Case | Excel Discussion (Misc queries) | |||
Case without Select Case error problem | Excel Discussion (Misc queries) | |||
End Select without Select Case, Block If without End If errors | Excel Programming |