Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From VBA how do I access the back button in IE

Status
Not open for further replies.

BAZ99

Programmer
Sep 15, 2009
1
GB
From MS access, I have used createObject to open an instance of internet explorer. I am able to reference all of the items etc from within vba, but need to 'press' the back button occasionally to return to the previous page in ie.

I have tried using 'sendkeys %{left}' but although it works this is unreliable.

How is the 'back button' called or referenced?
 
BAZ99,
[tt].GoBack[/tt] should do it. If that doesn't work see if there is an option for [tt].ExecWB[/tt].

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top