I am having a problem with MsgBox and if statements.
If I put it in an If statement, the If statement is ignored and the code (between the if and End If) which is following is ran.
The message shows with the buttons.
This happens with debugger and built.
This started recently after 2018r2
Is anyone else seeing this?
Sorry for not posting. I also didn’t notice the edit.
This is one example of a code block.
It consistently breaks down.
If 6 = MsgBox( "Do You Want to Update the Dictionary" + EOL + _
"This Should be Denied IF Practice Files NEED to be Processed", 36 ) Then
YPrf.FOpnRun = False
DictBildThrd.Run
End If
This is essentially in the window’s open. I haven’t bothered to look for synchronicity of breaks, but there are others.
I also know the “_” doesn’t matter.
DictBildThrd.Run is a thread that gets called even though I haven’t selected a choice.
This also happens during a built app on Mac.
It’s on a late 2011 MacBook Pro Laptop (one of those that don’t get Mojave - grumble).
It could also be I only have the default graphics display memory of 4gig. If it’s this weird one I’ll know in a couple of days. I’m getting 16 gigs.
[quote=411199:@Arthur Gabhart]Working to me means the MsgBox waits until I answer Yes or No.
The code goes on whether I have pressed a button.[/quote]
not the behavioiur you infered was occuring… in which case I’d put a breakpoint on the IF… to prove it is even getting there as you assume
I know. Thanks. For some reason Split wasn’t working and I made it that way.
Split Probably has been fixed, but it’s faster to type EOL than EndOfLine.