04-08-2011, 05:54 PM
you use/take help the below sample code for new excel sheet which is opening in the new IE
Code:
Browser("CreationTime:=1").Dialog("text:=its property").WinButton("text:=OK").Click
Browser("CreationTime:=1").Sync
If Browser("CreationTime:=1").WebElement("its property").exit then
msgbox "Excel file opened"
else
msgbox "Excel file not opened"
End if
Browser("CreationTime:=1").Close