av8tordude
04-26-2011, 03:44 PM
I have this code that will open the page to my site. When the page open, how what code will click on the PayPal button to open the PayPal payment page?
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Sub Browser()
Call ShellExecute(0&, "OPEN", "http://www.pdtraveler.com/paymentcenter.htm", _
vbNullString, vbNullString, 3)
End Sub
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Sub Browser()
Call ShellExecute(0&, "OPEN", "http://www.pdtraveler.com/paymentcenter.htm", _
vbNullString, vbNullString, 3)
End Sub