I seem to be having a problem opening an excel file with a relative path in visual studio. The file is being saved to:
C:\Users\UserName\Documents\Filename.xls
on any machine. I have tried using:
Process.Start(@"~\Documents\Filename.xls");
to open the excel file, but it throws an error saying the file location cannot be found. Is there something I am doing wrong? Thank you in advance.