Dinesh Kumar Palani
New Member
- Joined
- Jul 27, 2015
- Messages
- 8
""This is my first post in this forum"" Would be great if some can help me on this..
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Set objCollection = IE.Document.getElementsByTagName("a")
For Each colol In objCollection
If colol.getAttribute("id") = "ExporttoExcel" Then
colol.Click
Do
DoEvents
Loop Until IE.ReadyState = 4
Exit For
End If
Next colol
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
I am trying to save the file from a website automatically. After i clicked "export to excel" it would ask me a pop called "Do you want to save or open requested file". I am unable to click save button through VBA code and also there is no option is available in Internet Explorer to disable this particular pop up.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Set objCollection = IE.Document.getElementsByTagName("a")
For Each colol In objCollection
If colol.getAttribute("id") = "ExporttoExcel" Then
colol.Click
Do
DoEvents
Loop Until IE.ReadyState = 4
Exit For
End If
Next colol
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
I am trying to save the file from a website automatically. After i clicked "export to excel" it would ask me a pop called "Do you want to save or open requested file". I am unable to click save button through VBA code and also there is no option is available in Internet Explorer to disable this particular pop up.