My coworker built a file upload macro using the VBA code below. This code works perfectly for all the users on Client20, but doesn't work for me on Client24, instead it crashes excel every time I try and run it. Its not security related because I can upload a file manually on my version of the client, and run this macro from another machine using client 20.
I'm wondering if anyone else has seen this issue?
Code:
Sub File_Upload()
Dim EPM As New FPMXLClient.EPMAddInAutomation
Dim Team As String
Dim SFolder As String
Dim FilePath(0) As String
Team = "Your Team ID"
SFolder = "Your SubFolder"
FilePath(0) = "Your File Path"
EPM.DataManagerFilesUpload Team, SFolder, FilePath
End Sub
Thanks, Ryan