|
-
May 19th, 2003, 01:23 AM
#1
Thread Starter
New Member
locking project properties, and disabling shortcut keys
Hi guys,
I have managed to get most of my project finished with a little help from great boards like these, but i am stuck on 2 things.
1) I think must be fairly simple, but i am missing the answer somewhere. I want to disable the standard shortcut keys when my workbook opens, and re-enable on exit.
2) in excel 2000 and later it seems you cant lock the project properties for viewing and still save in .xls format more than once, (i need to be able to do this, to update the info contained) so want to know if it is possible to protect/unprotect the project properties from withing the vba code when i open the workbook, and then again before i save it
TIA
I have done a search but could not find what i needed
-
Jul 14th, 2005, 08:35 AM
#2
Junior Member
Re: locking project properties, and disabling shortcut keys
Hi Gunslinger,
I'm still learning myself so maybe someone with more experience may have a better answer, but for 2) the project properties are protected with workbook protection, so;
Public Const Pass As Variant = "mypassword"
ActiveWorkbook.ActiveSheet.Unprotect Password:=Pass
and similar to protect.
-
Jul 17th, 2005, 02:40 PM
#3
Thread Starter
New Member
Re: locking project properties, and disabling shortcut keys
thanks for the reply, that is something like what i did.
i actually switched to excelxp (one in office xp)
and that seemed to clear the problem, the problem was arising from locking the vba code and also the sheet and workbook, i never did work out what the exact problem was, but it seems to have been cleared up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|