Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Statement
Hi.
I have a program written in Excel 97, that uses the following statement: Sheets("Loan").Protect UserInterfaceOnly:=True This works correctly in that it doesn't allow the user to type values into cells, but it does allow the macros to change the values. Note that this Excel 97 macro is working even though I have Excel 2002. My problem is that when I creat a new workbook and try to use the exact same statement, it does not work. "UserInterfaceOnly" is not one of the available arguments. Could someone shed some light on this? Thanks, Mike. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Statement
The UserInterfaceOnly argument applies only to individual worksheets and not
to workbooks. -- Vasant "Mike" wrote in message ... Hi. I have a program written in Excel 97, that uses the following statement: Sheets("Loan").Protect UserInterfaceOnly:=True This works correctly in that it doesn't allow the user to type values into cells, but it does allow the macros to change the values. Note that this Excel 97 macro is working even though I have Excel 2002. My problem is that when I creat a new workbook and try to use the exact same statement, it does not work. "UserInterfaceOnly" is not one of the available arguments. Could someone shed some light on this? Thanks, Mike. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Protect IF statement AND allow data entry | Excel Worksheet Functions | |||
Protect IF statement AND allow data entry | Excel Worksheet Functions | |||
Protect Workbook Vs Protect Sheet | New Users to Excel | |||
Can I protect columns w/in a "List" using Protect Sheet? | Excel Discussion (Misc queries) |