Re: Better way for writing IF statement ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




If the object is to simplify coding (ie make it less prone to typing
errors) there are several ways of doing this but you have not provided
any wider cntext for the issue so it is difficult to advise.

Options include:
- using select statements
- writing a functions that returns a true/false and does the test
internally
- use a class module in a similar way

I have used all these methods in various circumstances.

regards


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=21074
View this thread: http://www.excelforum.com/showthread.php?threadid=548020

.



Relevant Pages

  • Re: xp windows error 0x80245003
    ... Tony N wrote: ... the alleged fix and after typing it in it asks are you sure. ... Robin Walker [MVP Networking] ...
    (microsoft.public.windowsupdate)
  • Re: Want a good laugh - enough to make you cry?
    ... typing, it's impossible. ... Try Wikipedia "Subtitle ". ... Tony W ...
    (uk.tech.digital-tv)
  • Re: Online "flat" ISO C resource wanted.
    ... Tony Mc writes: ... That's either a contradiction or perhaps a tower block. ... You're quite right - when typing I couldn't think of any other. ...
    (comp.lang.c)
  • GREAT GUY: Tony Tumminaro
    ... I have been having problems with my Timber boards and Tony has let me ask ... Thanks for taking time (and typing) to help me Tony! ... I owe you one. ... Kyle O. ...
    (rec.games.video.arcade.collecting)