I need to click on the button but something goes wrong. Error raise "Object doesn't support this property or method" I have used this code
Sub test()
Dim ie As Object
Set ie = New InternetExplorer
ie.navigate "http://www.spark-interfax.ru/system/home/card#/company/3411D127F25A45F7ABAB32964A32848D/427"
ie.Visible = True
While ie.Busy Or ie.readyState < 4: DoEvents: Wend
ie.document.getElementsByClassName("button-icon right-offset-5 sp-i-xls-download-grey").Click
End Sub
On web-page this button is shown as this code
<button type="button" class="btn btn-default btn-sm js-not-print"><i class="button-icon right-offset-5 sp-i-xls-download-grey"></i><span>Excel</span></button>