JimmyZ1
Technical User
- Mar 31, 2004
- 397
Can someone help me with the syntax... something is wrong with the imputbox
Input1 = InputBox("Enter your OU for example XXX:")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile _
("compt.txt", ForAppending, True)
Set Name1 = "LDAP://OU=Computers," & "OU=" & Input1 & ",DC=com
Input1 = InputBox("Enter your OU for example XXX:")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile _
("compt.txt", ForAppending, True)
Set Name1 = "LDAP://OU=Computers," & "OU=" & Input1 & ",DC=com