dr_patso
09-25-2012, 07:30 PM
submit php form / web form / or just customize link (I have requests active on the field)
Hi all, I would really appreciate some help or direction on this. I searched web form on this forum and went 25 pages deep seeing nothing like this.
currently I have this working for me.
Sub ticketsystem()
'Dim PageNumber As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
URL = "wwwDOTticketsystemDOTcom/admin/new_ticketDOTphp"
Request = "?name=john&subject=testing&message=testing123123123"
'get web page
IE.Navigate2 URL & Request
Do While IE.readyState <> 4
DoEvents
Loop
End Sub
takes me to website with the request info populated.
I am happy to do this 2 ways, either have the VBA script login and fill out the webform.. or just have the vba script populate the URL with data from the currently selected email/open email...
like in the code above the link should contain this to pre populate the form...
(I do not need it to submit the form, web session must stay open)
URL= wwwDOTticketsystemDOTcom/admin/new_ticketDOTphp
Request = "?name=nameofsender&subject=subjectofemail&message=body%of%email"
Basically: this is stopping me from having to copy & paste ( subject / from / body ) into a basic html/php form 40 times a day, that's 3 copy & pastes and 3 alt tabs (1 monitor) I still would need to categorize it and enter time spent on the web form, so no need to completely automate.
Hi all, I would really appreciate some help or direction on this. I searched web form on this forum and went 25 pages deep seeing nothing like this.
currently I have this working for me.
Sub ticketsystem()
'Dim PageNumber As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
URL = "wwwDOTticketsystemDOTcom/admin/new_ticketDOTphp"
Request = "?name=john&subject=testing&message=testing123123123"
'get web page
IE.Navigate2 URL & Request
Do While IE.readyState <> 4
DoEvents
Loop
End Sub
takes me to website with the request info populated.
I am happy to do this 2 ways, either have the VBA script login and fill out the webform.. or just have the vba script populate the URL with data from the currently selected email/open email...
like in the code above the link should contain this to pre populate the form...
(I do not need it to submit the form, web session must stay open)
URL= wwwDOTticketsystemDOTcom/admin/new_ticketDOTphp
Request = "?name=nameofsender&subject=subjectofemail&message=body%of%email"
Basically: this is stopping me from having to copy & paste ( subject / from / body ) into a basic html/php form 40 times a day, that's 3 copy & pastes and 3 alt tabs (1 monitor) I still would need to categorize it and enter time spent on the web form, so no need to completely automate.