html sheet pasting data annoyance!!!

Palendrone

Board Regular
Joined
Jul 30, 2004
Messages
208
I have most of the code sorted to be able to do what I am intending but my main problem is pasting into the correct box the data that I have copied.

Here is my code so far...

Code:
Private Sub xxxxx_Auto()
Dim ie As Object
'On Error GoTo 1
Set ie = CreateObject("InternetExplorer.Application")
With ie
    .Visible = True
    .navigate "http://xx.xx.xx.xx/issue_form/"
    Do While .busy: DoEvents: Loop
    Do While .ReadyState <> 4: DoEvents: Loop
    With .Document.Forms(0)
    
    Call Button12_Click
        .p_issue_desc.Value = "PASTED DATA" ' <-- wanted to be able to do a Sendkeys "^V", True here !!!
         '.Submit.Click
    End With
    Do While Not CBool(InStrB(1, .Document.URL, "index.php"))
       DoEvents: Loop
    .Visible = True
End With
Set ie = Nothing
Exit Sub
1:  MsgBox "Unexpected Error, sorry."
    ie.Quit
    Set ie = Nothing
End Sub

As I have noted in the code I would have liked to be able to paste the data in which Call Button 12 copies ( just a range of data "Sheets("Copy").Range("E7:F13") )

Any help on this would be great - Thanks.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,191,125
Messages
5,984,786
Members
439,911
Latest member
dk73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top