On 11/2/2011 1:33 PM, Scott, Ken wrote:
What happens if there is no text after the then portion of an if then statement in vb script. Does the script continue within the sub routine or function or does it return to the main section of the script?

If you have an If ... Then with no End If, you'll get an error ("Error: Expended 'End').

If you have an If ... Then followed by an End If, but nothing after Then, that will just do nothing.

Can you provide a sample?

Aaron

--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Reply via email to