PeterRoach / VBA

VBA modules to facilitate coding in VBA.
12 stars 0 forks source link

TestTypeBool() #1

Open DelanoLima opened 6 months ago

DelanoLima commented 6 months ago

I suggest using: If ​​AL.JoinString <> True & True & True & True Then Instead of If ​​AL.JoinString <> "TrueTrueTrueTrue" Then In TestTypeBool() because of languages ​​other than English.

In my case, I am Brazilian and my Office and Windows language is Pt-Br, AL.JoinString returns "VerdadeiroVerdadeiroVerdadeiroVerdadeiro" and the test fails.

DelanoLima commented 6 months ago

I sugest the same in: If AL.JoinString <> False & False Then Instead of If AL.JoinString <> "FalseFalse" Then