Hi all,
Can anyone tell me why, in this little sub, the SaveToEnterprise method crashes with a "error (13) Type mismatch"
(as a manual "Save to enterprise" or the SaveToEnterpriseDialog function are working well...)
Sub Publish_Document(strSourceFName, strDestinationFolder As String) Dim curDoc As IDocument Set curDoc = Application.Documents.Open(strSourceFName, True, False, "passwd") curDoc.SaveToEnterprise strDestinationFolder , boFolder, "test", "", True curDoc.Close End Sub
Thanks !
(using Deski 12.3.0.601)