S
S
Sergey2016-08-17 20:38:21
Visual Basic
Sergey, 2016-08-17 20:38:21

How to send a POST request from Excel and get the response in the browser?

It is necessary to transfer the data from the excel sheet to the form on the server for further filling in the missing data and confirming the sending for processing.
There is a lot of data, a very long string is generated by the GET method, which leads to a runtime error.
IE is not used.
How can I form a POST and get the response in the browser?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2016-08-17
@dimonchik2013

stackoverflow.com/questions/158633/how-can-i-send-...

L
lvv85, 2016-08-18
@lvv85

GET POST requests from VBA + IE
To work with IE from VBA:

Dim IE
    Set IE = CreateObject("InternetExplorer.Application")
 
    IE.Visible = True
 
    Dim strUrl as String
    strUrl = "http://..........."
    IE.Navigate strUrl 
 
    Do While IE.busy
        Application.Wait 1000
    Loop
    ...............

   IE.Quit
   set IE = nothing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question