kaismum Posted September 13, 2006 Posted September 13, 2006 Hoping someone can help me do the following....I have a macro named "getrawdata" that is already working, however, I would like to use the if then else function to activate this macro depending on a given criteria... in plain english it would look like...If cell B7 >= cell B5 then display message .."data current"else cell B7 < cell B5 then run macro "getrawdata"endwhat would be the correct VBA coding for this? and how do I enter this in the workbook??Looking forward to a reply..
jondercik Posted September 13, 2006 Posted September 13, 2006 Basically the format of if then else isif <condition> then <statements>else <statements>endif
CoffeeFiend Posted September 13, 2006 Posted September 13, 2006 (edited) . Edited November 7, 2006 by crahak
CoffeeFiend Posted September 14, 2006 Posted September 14, 2006 (edited) . Edited November 7, 2006 by crahak
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now