This (using WinInet) is VB6 but should also work in VBA/Excel:
I’m successfully using the one below (it uses ADODB.Stream and WinHttp.WinHttpRequest.5.1):
http://www.ericphelps.com/scripting/samples/reference/web/http_post.txt
(if website disappears, also available on Internet Archive)
Related Contents:
- VBA – Deleting duplicated in one string which are separated by semicolon
- Different languages issue when inserting formula from VBA
- How to error handle 1004 Error with WorksheetFunction.VLookup?
- Refer to sheet using codename
- So, I have 6 “master” files to then divide into 40 separate files
- Wait until ActiveWorkbook.RefreshAll finishes – VBA
- Unprotect VBProject from VB code
- Last not empty cell (column) in the given row; Excel VBA
- Excel VBA deleting rows in a for loop misses rows
- What is the lifetime of a global variable in excel vba?
- Get list of Excel files in a folder using VBA [duplicate]
- Download attachment from Outlook and Open in Excel
- What is the most efficient/quickest way to loop through rows in VBA (excel)?
- How do I base64 encode a string efficiently using Excel VBA?
- How to make Excel VBA variables available to multiple macros?
- Copy data from another Workbook through VBA
- Programmatic Access To Visual Basic Project Is Not Trusted
- Can I make this macro more efficient or faster?
- VBA : save a file with UTF-8 without BOM
- Excel vba add code to sheet module programmatically
- Excel VBA: Can’t get a match, error “Unable to get the Match property of the WorksheetFunction class”
- How to “flatten” or “collapse” a 2D Excel table into 1D?
- Excel: macro to export worksheet as CSV file without leaving my current Excel sheet
- Embed picture in outlook mail body excel vba
- When one should use Set [e.g for SpecialCells return value]?
- Create a new sheet for each unique agent and move all data to each sheet
- Getting Excel to refresh data on sheet from within VBA
- Loop through Excel Sheets
- How do I name a spreadsheet automatically, by referencing two cells?
- Excel VBA How to detect if something was pasted in a Worksheet
- Sending formatted Lotus Notes rich text email from Excel VBA
- How can I generate GUIDs in Excel?
- VBA: How to delete filtered rows in Excel?
- Open a workbook using FileDialog and manipulate it in Excel VBA
- Insert line break in wrapped cell via code
- Determine if cell contains data validation
- Excel VBA – QueryTable AfterRefresh function not being called after Refresh completes
- Determine whether user is adding or deleting rows
- How to use VBA SaveAs without closing calling workbook?
- How to create dynamic variable names VBA
- Fastest way to delete rows which cannot be grabbed with SpecialCells
- VBA Password Input with Cancel Function
- How to add data validation to a cell using VBA
- excel vba- extract text between 2 characters
- Combine multiple Excel workbooks into a single workbook
- VBA to open Excel hyperlink does not work when hyperlink generated with a formula
- Round function in Excel, worksheet function vs VBA
- What are the differences between using the New keyword and calling CreateObject in Excel VBA?
- Change length of For loop while in the loop
- Running VBA from a HYPERLINK()