Last active
August 29, 2015 14:12
-
-
Save iamdionysus/a3c9de1c227b4513c7d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub test_set_table() | |
ActiveDocument.Tables(4).Cell(1, 1).Range.Text = "Blah" | |
End Sub | |
Sub test_get_http() | |
Dim result As String | |
Dim myURL As String | |
Dim winHttpReq As Object | |
Set winHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1") | |
myURL = "http://www.google.com" | |
winHttpReq.Open "GET", myURL, False | |
winHttpReq.Send | |
result = winHttpReq.responseText | |
Debug.Print result | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment