Drstein99
Well-known member
I am trying to pass a parameter to a sub, as a condition (example):
doTest(dialogresult.ok)
sub doTest(byval pdresult as dialogresult)
bla
end sub
-------
I WANT to pass an "or", "and" condition to the sub, (example):
doTest (dialogresult.ok OR dialogresult.cancel)
--
How do i transfer the conditions to the sub? It seems only to take the "dialogresult.ok" as a paramter
doTest(dialogresult.ok)
sub doTest(byval pdresult as dialogresult)
bla
end sub
-------
I WANT to pass an "or", "and" condition to the sub, (example):
doTest (dialogresult.ok OR dialogresult.cancel)
--
How do i transfer the conditions to the sub? It seems only to take the "dialogresult.ok" as a paramter