Hi,

I'm trying to fill in a form online (intranet), and am using the method

Set sitename = IE.Document.getElementById("txtsite")
    sitename.Value = ThisWorkbook.Sheets("INPUT").Range("A1")
It works fine replacing the value on screen, but it's not updating the selection.

Maybe not the right choice of words, but it's like it's typing in the name but not pressing enter or tab to confirm the selection.


Is there a way to press enter or tab in code? Or is there another way to confirm the selection?

Many thanks.