APD Toronto
asked on
ActiveX component can't create object: CreateObject("UserAccounts.CommonDialog")
Hello Experts,
I need to enhance a VBScript that I did years ago, but I keep getting:
ActiveX component can't create object: CreateObject("UserAccounts .CommonDia log")
...the error is on Line 2 of the following code:
Any help will be greatly appreciated.
Thank you.
I need to enhance a VBScript that I did years ago, but I keep getting:
ActiveX component can't create object: CreateObject("UserAccounts
...the error is on Line 2 of the following code:
Dim objDialog
Set objDialog = CreateObject("UserAccounts.CommonDialog")
objDialog.Filter = "Bank Downloaded Files (*.csv)|*.csv"
objDialog.FilterIndex = 1
objDialog.InitialDir = startupFolder
inFile = objDialog.ShowOpen
Any help will be greatly appreciated.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER