Variable in COM name
Posted: 26 Jul 2015, 16:12
I'm sure my terminology is wrong, but I'm wanting to have a variable in a COM object, but I'm getting invalid name errors.
the %user_pass% is my variable obviously, but the format doesn't appear to play well with this. Is there a way to do what I want or am I just screwing up the syntax elsewhere and that's why I'm getting an error?
Code: Select all
wb2.Document.All.%user_pass%.value := "11111"