05-02-2005, 02:36 PM
I don't know why it waits, but the second AccClick probably searches in the main IE window, because it finds Internet Explorer before the dialog appears. Insert a wait command. Or, wait for the dialog, and use dialog handle in the second AccClick.