I removed all the Application.Automa..... comand lines I previously posted so
for now the macro will finish all the way but it acts as if I had not removed
the Applicaion.AutomationSecu..... command... it open the file and then
stop... I have this
Sub OpenFile()
Workbooks.Open Filename:="MyFile.xls", ReadOnly:=True
Workbooks("MyFile.xls").Close savechanges:=False
Windows("File_with_original_macro.xls").Activate
End Sub