Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default unprotecting project

is it possible to unprotect my modules via code?
i have tried:
ThisWorkbook.VBProject.Unprotect password:="ok"
it does not work. thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default unprotecting project

Only using sendkeys which I wouldn't consider an acceptable approach. This
is by design to reduce the chance of an automated attack. .

--
Regards,
Tom Ogilvy


"mike allen" wrote in message
...
is it possible to unprotect my modules via code?
i have tried:
ThisWorkbook.VBProject.Unprotect password:="ok"
it does not work. thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
With VBA from Excel: Open Project, extract resource list and copy it to a worksheet, close project. Tony Excel Programming 1 October 18th 05 03:53 PM
Unprotecting VBE Project to Make Code Changes Kaisies Excel Programming 1 March 22nd 05 08:41 PM
Assigning the Help 4, *.HLP file for a project programmatically in a protected Project Tony Seiscons Excel Programming 0 October 4th 04 03:10 PM
Unprotecting a VBA Project Anthony Cuttitta Jr. Excel Programming 13 September 30th 04 06:28 AM
Accesing vba project from wb that has vba project password protected cassidyr1 Excel Programming 2 July 3rd 04 01:49 PM


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"