VB Script Creating variable on the fly returned Error Automation type not supported
Posted
by chazzuka
on Stack Overflow
See other posts from Stack Overflow
or by chazzuka
Published on 2010-04-22T07:28:56Z
Indexed on
2010/04/22
7:33 UTC
Read the original article
Hit count: 188
I have list of variables in an include files which is looks like:
var_1 = "string"
var_2 = "string"
on the main file i need variable created on the fly so i do
' somewhere i have the num variable
Execute("new_var = var_"&num)
Exactly on the execute line i got this error
Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript
Any idea guys?
thanks
© Stack Overflow or respective owner