title: Using VBA in Excel to see if I have permission to open the file
body: <p>I have a file in the system that is breaking my code. When I try to open the file via VBA or by simply opening the file through the file system, I get this error. "You are not authorized to access this spreadsheet."</p>
  
  <p>I was wondering if there is a way to use VBA to check the file permissions before attempting to open the file.</p>