Call LogEntry()

Sub LogEntry()

On Error Resume Next

Declare variables
Dim objRequest
Dim URL

Set objRequest = CreateObject(“Microsoft.XMLHTTP”)

URL = “http://www.tootleerp.com/TootleCFDLenomex/TootleCFDUIReports/Utilerias/QuerySendEmailExcelPDF.aspx?empresa=1&produccion=1”
objRequest.open “POST”, URL , false
objRequest.Send

URL = “http://www.tootleerp.com/TootleCFDLenomex/TootleCFDUIReports/Utilerias/QuerySendEmailExcelPDF.aspx?empresa=2&produccion=1”
objRequest.open “POST”, URL , false
objRequest.Send

Set objRequest = Nothing

End Sub

Advertisements