Code: Select all
Dim FileProperties(0) As New com.sun.star.beans.PropertyValue
FileProperties(0).Name = "Overwrite"
FileProperties(0).Value = False
oDoc2.StoreAsURL(ConvertToURL(bestand),FileProperties())
What's the difference, the latter doesn't seem to work?