View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mike mike is offline
external usenet poster
 
Posts: 216
Default 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.