vba - C# run excel macro that has a password -


i have excel workbook contains macro contains password. have c# app calls excel macro (not design). wondering if there away password protect excel macro people cannot see password can still called c# app.

the password has remain in workbook cannot move c# app, again not design.

password-protecting macro not prevent being executed, viewed , edited.

just go module properties in vba editor, click "protection" tab , add password.

note string constants not encrypted in source file, may want obfuscate password if it's human-readable password it's not recognizable looking @ excel file in text editor.


Comments

Popular posts from this blog

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -