Darkcloud617
New Member
- Joined
- Sep 7, 2017
- Messages
- 38
Hello,
I am having an issue regarding "clicking" through a hover drop down menu on a website. The drop down menu looks like this and is the 6th button from the left on the websites nav bar.
and the website code that refers to that drop down is:
When you hover over "All Open Orders in view" the class changes from "MenuBar_Menu_Item" to "MenuBar_Menu_Item MenuBar_Menu_Item_Hover". The below is the relevant part of the VBA code I am trying to get to click the option "All Open Orders in view":
There is other code "onclick", "onmouseover" etc but im not familiar with incorporating that into VBA. That code errors "object required" but I've tried many different iterations. Any ideas would be greatly appreciated.
Thank you.
I am having an issue regarding "clicking" through a hover drop down menu on a website. The drop down menu looks like this and is the 6th button from the left on the websites nav bar.
and the website code that refers to that drop down is:
When you hover over "All Open Orders in view" the class changes from "MenuBar_Menu_Item" to "MenuBar_Menu_Item MenuBar_Menu_Item_Hover". The below is the relevant part of the VBA code I am trying to get to click the option "All Open Orders in view":
VBA Code:
Document.getElementsByClassName("MenuBar_Menu")(1).Click
There is other code "onclick", "onmouseover" etc but im not familiar with incorporating that into VBA. That code errors "object required" but I've tried many different iterations. Any ideas would be greatly appreciated.
Thank you.