The following is the full script. However for the CONST Ou_Name, I mean I didn't see how it has been used in the script except when it has been declared as a constant.
' Creates users based on Excel spreadsheet information.
' Excel spreadsheet formatting:
' Row 1 to have headings
' Column A...
Thanks for your prompt reply.
I have already created the spread sheet which suppose to start from row 2, althoug I have tried to trim all the user variables, but no luck e.g.
login = Trim(objSheet.cells(r, 1).value)
I am using values from excel spreadsheet based on the variables in your...
Hi,
I am new to Vbscript and I got some errors when I run this script.
First, I have to get around to get to the spread sheet
Second I get SetInfo error from the first line
Third the I get syntax error and invalid property errors with the oUser.SetPasswor login or oUser.AccountDisabled =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.