I am opening a file in VBA and want to ignore the above message after my file opens through the code. That is I don't want to update the file and want to continue running the code . How can I do it? I am opening multiple file and I need to wait for every file to display that, instead I thought I can do it through code.
filter = "Text files (*.xls*),*.xls*"
Caption = "Please Select the a file"
Ret = Application.GetOpenFilename(filter, , Caption)
If Ret = False Then Exit Sub
Set wb = Workbooks.Open(Ret)
Application.displayAlerts=False does not work for this. Is there anyway to manage it? Thanks.