Your Products have been synced, click here to refresh
Ah, didn't notice it in the code you posted. You are trying to create an object from a string concatenation.
Try dim'ing the FILENAME, FILEPATH and FOLDER as strings instead.
Add this to the beginning of your script:
Dim FILENAME, FILEPATH, FOLDER As string
Then just remove the "CREATEOBJECT( .. )" from the FILENAME, FILEPATH and FOLDER definitions.
Leave the Set FILENAME = "D:........" as is for FILENAME, FOLDER and FILEPATH.
...or post the entire script you got so we can edit that directly.
Dim FILENAME, FILEPATH, FOLDER As String Dim App As Object Set App = CreateObject("PCDLRN.Application")
Ah, didn't notice it in the code you posted. You are trying to create an object from a string concatenation.
Try dim'ing the FILENAME, FILEPATH and FOLDER as strings instead.
Add this to the beginning of your script:
Dim FILENAME, FILEPATH, FOLDER As string
Then just remove the "CREATEOBJECT( .. )" from the FILENAME, FILEPATH and FOLDER definitions.
Leave the Set FILENAME = "D:........" as is for FILENAME, FOLDER and FILEPATH.
...or post the entire script you got so we can edit that directly.
Dim FILENAME, FILEPATH, FOLDER As String Dim App As Object Set App = CreateObject("PCDLRN.Application")
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |