vba - Print If Statement in VBE Console + casting variables in -


i have simple question. possible test if statements directly in vbe console?

one can make simple mathematical computations , access objects etc. i've not seen example of using if statement.

i testing following: ? if date > "mydate"

boolean expressions evaluate in immediate window - leave "if" off:

?date > cdate("1/1/2010") true 

note can use of type casting functions (such cdate above).


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -