This is my code:<BR>...<BR>Set objFSO = Server.CreateObject("Scripting.FileSystemObject")< BR> For i = 0 to UBound(aryXMLfiles)<BR> Set objFile = objFSO.GetFile(i)<BR> If objFile.DateLastModified <> Application("xml" & i) Then<BR> Call WriteNaviHorz()<BR> '*********something here?<BR> End If<BR> Next<BR>objFSO.Close<BR>Set objFSO = Nothing<BR>...<BR><BR>My array has about 8 elements in it. I am basically checking to see if any of the xml files have changed. If even one of them has, I want to run the sub WriteNaviHorz(). But if that happens I want to exit the If...End If loop and the For...Next loop as well. There is no need to do it 8 times! This is very intense code.<BR><BR>What can I add there to do this? An "exit" somewhere maybe?