Hi
I'm trying to convert the following formula into VBA
'=IF(F35>F30,MIN((F35-F30),E30),0)
I have written the following code but 'iLimit is Blank when I step through the code. a, z and i as numbers in a textbox on a userform.
I have also tried Dim iLimit as a Variant too.
If I hover over a, z, i it shows the correct values. Its the iLimit that is not working. I think its the IF function??
Please Login or Register to view this content.
Bookmarks