B
baobob
I'm still a VBA newbie, and I have two questions:
1. As an Object Pascal programmer, it never ceases to amaze me how
difficult it is, on occasion, to find out how to do the simplest of
things in Excel VBA.
So how do I return the greater of two integers? In Pascal, it's Max(x,
y). I mean, don't all languages have that simple construction?
But my VBA compiler doesn't recognize "Max". Not only that, but "max"
and "maximum" don't even appear in the Contents and Index. Nor does
VBA Help's list of math functions even mention that functionality. I
find that to be unbelievable.
2. I should probably ask this in a different thread, but: I routinely
search microsoft.public.excel.* for answers to these basic syntax
questions, and I often find absolutely no hits whatsoever on even the
commonest questions. For example, I just searched
microsoft.public.excel.programming for various combinations of "max",
"maximum" "greater of", "integers", etc. and all I get are threads on
much more specialized topics.
Now, I use Google Groups' interface into Newsnet. Is that my problem?
Does Google present only a crippled subset of Newsnet to the world? If
so, how crippled? Pathetically so? Should I be using a true news
reader instead?
Thanks much.
***
1. As an Object Pascal programmer, it never ceases to amaze me how
difficult it is, on occasion, to find out how to do the simplest of
things in Excel VBA.
So how do I return the greater of two integers? In Pascal, it's Max(x,
y). I mean, don't all languages have that simple construction?
But my VBA compiler doesn't recognize "Max". Not only that, but "max"
and "maximum" don't even appear in the Contents and Index. Nor does
VBA Help's list of math functions even mention that functionality. I
find that to be unbelievable.
2. I should probably ask this in a different thread, but: I routinely
search microsoft.public.excel.* for answers to these basic syntax
questions, and I often find absolutely no hits whatsoever on even the
commonest questions. For example, I just searched
microsoft.public.excel.programming for various combinations of "max",
"maximum" "greater of", "integers", etc. and all I get are threads on
much more specialized topics.
Now, I use Google Groups' interface into Newsnet. Is that my problem?
Does Google present only a crippled subset of Newsnet to the world? If
so, how crippled? Pathetically so? Should I be using a true news
reader instead?
Thanks much.
***