How to replace or update “Style” attribute value by using VBA
问题 I am feeding Data on website using VBA. I am want to change/replace or update the value of "Style" attribute on that website. HTML <div class="timeline-row-item style="left: 556px;"></div> I want to change the value from style="left: 556px;" to style="left: 300px;" Sub test1() Dim IE As New SHDocVw.InternetExplorer IE.document.querySelectorAll("div[class*= timeline-row-iteml]").setAttribute ("style", left: 300px;") How can i do this on Excel VBA. Thank You 回答1: querySelectorAll returns a