View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Protect\Unprotect VBA project

Rohit,

Other than using SendKeys, you cannot protect/unprotect a VBProject using
code.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com



"Rohit Thomas" wrote in message
...
Hello All,

Is it possible to protect\unprotect a VBA project using
code in Excel 97 or above? I am looking for similar
functionality as protecting\unprotecting a
worksheet\workbook.

Thanks,
Rohit Thomas