I want to identify the table to which the TVs on this page are compared
I want to get the text of a table by specifying an anonymous table in IE.
There are other tables, so table (0) cannot be obtained.
Tell me how to get the code below because I don't know which table I want to get.
Dim i As Integer i = 0 For Each objTable In objIE.document.getElementsByTagName ("table") Debug.Print objTable.Cells (i) .innerText i = i + 1 Next objTable
Answer # 1
tableI think you can get it if you get it.
objIE.document.querySelector ("# widget-comparison0-swipe>table")
How about this?
Answer # 2
Easy to use, select "what number table".
It is useless if it is a page that changes the number depending on the situation.
After that, select the text in the header.
Answer # 3
I'm not familiar with HTML operations, but
"Div id ="result"class ="result""
Is not available?
It feels like a table in the result class.
Answer # 4
In response to spookybird's answer ...
Since there was no "SET" keyword to assign an object, it was solved when I added it.
Set objTable = objIE.document.querySelector ("# widget-comparison0-swipe>table")
I'm sorry for the lack of manners.
- html - even if class is specified by css, it is not reflected
- html - how to specify the css selector and get the point you want to pinpoint
- C ++ realizes linear table through class
- html - i want to make the table layout responsive by changing only css
- (python) i want to display the html table containing the template for loop in django as expected
- html - i want to select a select option and add it to the table
- html - border-radius is not applied to class = "btn" in class = "form"
- html - i want to make the table responsive
- html - class names often used in coding
- html - how to exclude class in a specific file from completion candidates with scss everywhere extension of vs code
- html - isara copy wants to make a part of the same name class independent
- html - i want to specify a color for the before element as well
- html - rails save to intermediate table and get data from other table
- css - is it possible to specify a class name and a pseudo class at the same time?
- i want to automatically adjust the height of the html table according to the size of the browser
- python - convert the table on html to csv, then add data
- html - css class selector is not reflected
- html - the list in the table is displayed outside the frame
- html - what is the difference between div and ul? if you specify list-style: none, you may think div is fine i want to know the
- i want to display an array list that i instantiated in an html table
- python - how to know the arguments of a vba function in a protected excel file
- vba - how to display an image url in excel as an image in excel
- vba - no error occurs in docmdtransferspreadsheet in the form of operating access from excel
- vba - display text type data in a cell using copyfromrecordset
- vba excel want to select multiple non-consecutive rows and change the format
- vba i want to find the cell where the numerical value is entered and display it in the user form
- vba - only post unposted data from one excel book to another book
- [vba] copy value from work book to another book
- vba - network interface: an error occurred while locating the specified server/instance
- vba - i want to display the time difference using the time function