Nesting Select Cases
#2
(05-28-2022, 11:55 PM)PhilOfPerth Wrote: Can Select Case segments be safely nested, by placing another Select Case segment inside one or more of the primary Cases? Or will they "contaminate", messing up the stack of operations for the program?
I know we can nest For...Next and If...Then, but it's not made clear in the Help file whether this is ok for Select Case.
I'm still exploring, so this would be helpful to know.

Same thing with Select Case, just make sure the inner Select Case inclusive its respective End Select is entirely inside the same outer Case, hence same as with If..Then.
Reply


Messages In This Thread
Nesting Select Cases - by PhilOfPerth - 05-28-2022, 11:55 PM
RE: Nesting Select Cases - by RhoSigma - 05-29-2022, 12:40 AM
RE: Nesting Select Cases - by PhilOfPerth - 05-29-2022, 02:56 AM



Users browsing this thread: 1 Guest(s)