Getting attribute values in VBA
问题 I need to make a VBA file that will read a webpage and return the value of the SRC attribute of the IMG tag. I wasn't able to make the last step work. Can you guys help me? <html> <body> <img src="image.jpg"> </body> </html> ===Edit=== I managed to return the attribute object. Now I need to return its value Option Compare Database Sub AcessaPagina() Dim ie As InternetExplorer Dim test As String Dim obj As Object Set ie = New InternetExplorer ie.Navigate "http://www.google.com.br" MsgBox ie