I have written a VBA code which sends an http request and will get a response from the provided URL. The .responsetext then will copied to my userform textbox control. The only problem is that it is in linear format. I want it to be regular HTML format (Breaked into multiple lines. Each Tag in a seperate line). How Can I achieve this? Is there a pre-written function for that?
My code so far:
Private Sub CommandButton1_Click() 'Login
Dim Req As New WinHttpRequest
Req.Open "Get", TextBox1, False
Req.Send
TextBox4.Text = Req.ResponseText
End Sub