Quantcast
Channel: Apache OpenOffice Community Forum
Viewing all articles
Browse latest Browse all 1281

Macros and UNO API • Re: Execute .vbs file using macro in Calc

$
0
0
... if it is just about downloading a file I would recommend to use OOBasic rather than VBS

Code:

oSimpleFileAccess = createUnoService("com.sun.star.ucb.SimpleFileAccess")oSimpleFileAccess.copy("https://www.google.de", "C:\users\martin\downloads\google.html")

Statistics: Posted by ms777 — Sat Nov 09, 2024 11:35 am



Viewing all articles
Browse latest Browse all 1281

Trending Articles