08-09-2011, 08:21 PM
Hi,
There are two types of Variable Declaration Explicit and Implicit
Explicit way of Declaration
Dim str1
str1 = "Test"
Implicit way of Declaration
str1 = "Test"
When you use Option Explicit you should declare the variable by Explicit way. Otherwise you will get "Error 500" -"Variable is undefined"
There are two types of Variable Declaration Explicit and Implicit
Explicit way of Declaration
Dim str1
str1 = "Test"
Implicit way of Declaration
str1 = "Test"
When you use Option Explicit you should declare the variable by Explicit way. Otherwise you will get "Error 500" -"Variable is undefined"