max and min - TechRepublic
General discussion
November 6, 2003 at 09:36 AM
john_wills

max and min

by john_wills . Updated 22 years, 6 months ago

I thought there were functions max and min in VBA, as in Algol, Fortran, Cobol. But I get an error message at compilation, and have been reduced to defining them myself. Help is no help. The functions I want have this kind of definition
Def max(x,y): if x>y then x else y fi
Are these things really in VBA and if so how do I access them?

This discussion is locked

All Comments