Quantcast
Channel: SCN : Popular Discussions - SAP BusinessObjects Desktop Intelligence
Viewing all articles
Browse latest Browse all 681

Deski VBA : SaveToEnterprise raises a Type Mismatch error

$
0
0

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)


Viewing all articles
Browse latest Browse all 681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>