Skip to content

Instantly share code, notes, and snippets.

@jevo123
jevo123 / gist:8a1bcd21b7d67ab3bf42a4cb4b1b2ad0
Created August 10, 2018 12:13
Combinación de correspondencia SAP - Word
If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(0)
End If