Check if a MS Excel or Access file is password protected

Category:
Database
Type:
Snippets
Difficulty:
Beginning
Author:
Don

Version Compatibility: Visual Basic 5

More information:
example use: new project, command button, textbox. add following code to command button. msgbox(Check_Password(Text1))

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: