Math formula help (Thank you!)
Thank you Auric and Joeu2004 for your help.
Both of your responses helped very much.
Ultimately, the following code represents what I
was looking for:
'
' This is the VBA code I chose (assuming X is always =0) :
'
y = WorksheetFunction.Max(1, WorksheetFunction.RoundUp(x, 0))
Thanks again!
|