Re: Odd or Even
- From: "Bob Phillips" <phillips@xxxxxxxxxxxxx>
- Date: Wed, 15 Jun 2005 18:14:07 +0100
"JE McGimpsey" <jemcgimpsey@xxxxxxxx> wrote in message
news:jemcgimpsey-A53803.09451415062005@xxxxxxxxxxxxxxxxxxxxxxx
> I think that the fix to your function would depend on the situation -
> rather than "Invalid value", which necessitates the function return a
> variant, it might be more appropriate to keep the boolean function and
> return False. One could even explicitly type Val as a Long, and perform
> the implicit coercion in which a single or double would be rounded.
Exactly, without knowing the full requirement we are just fishing in the
dark.
.
- References:
- Odd or Even
- From: PraxisPete
- RE: Odd or Even
- From: MIKE215
- Re: Odd or Even
- From: Bob Phillips
- Re: Odd or Even
- From: JE McGimpsey
- Re: Odd or Even
- From: Bob Phillips
- Re: Odd or Even
- From: JE McGimpsey
- Odd or Even
- Prev by Date: Re: TextBox BackColor
- Next by Date: Condition IF problem in Excel VBA
- Previous by thread: Re: Odd or Even
- Next by thread: Re: Odd or Even
- Index(es):
Relevant Pages
|