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

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

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

google shop client API returns 400 bad request error while adding an item -