PDA

View Full Version : boolean variable



samisamih
04-03-2015, 03:37 AM
hi
I need to learn how this variable type(boolean) work , How exactly to work with this variable, What is the default I have set up and where exactly, how this variable can help macros code?
for example if I run macro event , And want that the condition I wrote work only when the condition is met and not when any change happens in the worksheet . how Boolean can help with this?, or how to use boolean without if ?




, in the internet I didn't find other information than (true /false) , (if condition met then boolean variable =true else boolean variable =false).
I think that the use of this variable is more important than this
Otherwise I just can define a variable as string and insert TRUE or FALSE if the condition is met.

any example how to work with Boolean?

best regards

Paul_Hossler
04-03-2015, 08:57 AM
An example of using Boolean is in the answer to the question you asked in the Word forum