The following code is used to open an excel .xls file. However, excel 2016 no longer allows to open the .xls files then a pop-up window appears (see attached image) which should be handled with the last two lines of the code nevertheless the code I wrote did not send me any errors but it just does not do anything.
string FilePath1 = @"MyFilePath";
Process.Start(FilePath1);
Thread.Sleep(2000);
SendKeys.Send("{LEFT}");
SendKeys.Send("{ENTER}");
the code opens the file but when the pop-up window appears it doesn´t press LEFT arrow neither ENTER key. the picture with the pop window is below