1The program creates the com.sun.star.Servicemanager on a remote machine:
2
3Set objServiceManager = CreateObject("com.sun.star.ServiceManager", "\\jl-1036")
4
5creates a document and writes in it.