Check if excel file is password protected

Topics: Developer Forum
Jul 11 at 2:55 PM
Edited Jul 11 at 3:00 PM
What is the correct way to check is an excel file is password protected (I do not know the password)? When I try to open it I get a non-specific exception that could be related to any other type of invalid file. Thanks