Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default UserInterfaceOnly on the Mac


I am using Excel 2004 and can't seem to get the userinterfaceonl
variant of the protect method to work. I have a protected cell on
worksheet that I want to double click on so it runs a macro (whic
toggles "Yes" and "No" in that cell) - when I do I keep getting name
argument not found - with userinterfaceonly highlighted.


ActiveWorkbook.Protect Password:= _
"pass", UserInterfaceOnly:=True

Is this feature not supported on the Mac?

Thanks

Richar

--
rgarber5
-----------------------------------------------------------------------
rgarber50's Profile: http://www.excelforum.com/member.php...fo&userid=1135
View this thread: http://www.excelforum.com/showthread.php?threadid=26348

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default UserInterfaceOnly on the Mac

Protect the sheet, instead of the workbook:

ActiveSheet.Protect Password:= _
"pass", UserInterfaceOnly:=True

rgarber50 wrote:
I am using Excel 2004 and can't seem to get the userinterfaceonly
variant of the protect method to work. I have a protected cell on a
worksheet that I want to double click on so it runs a macro (which
toggles "Yes" and "No" in that cell) - when I do I keep getting named
argument not found - with userinterfaceonly highlighted.


ActiveWorkbook.Protect Password:= _
"pass", UserInterfaceOnly:=True

Is this feature not supported on the Mac?


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Userinterfaceonly Tami Excel Worksheet Functions 5 August 31st 09 07:37 PM
UserInterfaceOnly & Password Protection D.Parker Excel Discussion (Misc queries) 6 October 9th 07 09:46 PM
UserInterfaceOnly D.Parker Excel Discussion (Misc queries) 1 May 17th 05 08:51 PM
ActiveSheet.Protect UserinterfaceOnly:=true Tim[_14_] Excel Programming 4 August 7th 03 09:06 PM
Problem with using Protect when userinterfaceonly:=True Les[_4_] Excel Programming 2 July 18th 03 01:50 PM


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

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"