Hello,
I want to convert these formulas to a VBA method. I am not very good with formulas but I am much better with VBA. Can someone help me convert this to VBA? I plan to create a userform with text boxes to validate the data the same way. Thanks for any help.
"O3" RD-FA3622-01 1UL05
"E4" RD-FA3622-01 1UL05 288139
"D4" 1248-20 288139
I want to convert these formulas to a VBA method. I am not very good with formulas but I am much better with VBA. Can someone help me convert this to VBA? I plan to create a userform with text boxes to validate the data the same way. Thanks for any help.
Code:
=IF(AND(D4="",E4=""),"",IF(RIGHT(D4,6)=RIGHT(E4,6),"PASS","FAIL"))
=IF(AND(E4=""),"",IF(LEFT(E4,19)=$O$3,"PASS","FAIL"))
"O3" RD-FA3622-01 1UL05
"E4" RD-FA3622-01 1UL05 288139
"D4" 1248-20 288139