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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -