ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Export modules from protected projects (https://www.excelbanter.com/excel-programming/356754-export-modules-protected-projects.html)

Frederick Chow

Export modules from protected projects
 
Hi all,

I am writing a program whose routines include exporting a module from a
protected VBProject. Of course, these routines fail. Are there any ways to
bypass the problem (besides outright making the VBProject unprotected), for
example, is it possible to temporarily unprotect the project and the
reprotect it afterwards? I could only find a property called "Protection" of
VBProject but it is read-only. Thanks for your assistance in advance.

Frederick Chow
Hong Kong



gg67

Export modules from protected projects
 

Hello Frederick,

Here is my solution
http://www.ozgrid.com/forum/showthre...t=13006&page=2

You can download the *'JB Word components exporter.zip'* archive. It
contents the source code.

hf ;)


--
gg67
------------------------------------------------------------------------
gg67's Profile: http://www.excelforum.com/member.php...o&userid=33548
View this thread: http://www.excelforum.com/showthread...hreadid=525110



All times are GMT +1. The time now is 03:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com