Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's the code:
With ActiveWorkbook.Sheets("Contract Master Order") .Range("A1:N70").Locked = True .Protect Password:="SGB" .EnableSelection = xlUnlockedCells End With The Locked statement results in Error 1004, Unable to set the Locked property of the Range class. I've some embedded ActiveX textboxes in the range in question ........is that the problem? If so, can I remove the controls (but retain the user's text) and then protect the sheet and book, please? Regards. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05/07/2004 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unable to set the FormulaArrary property of the range class | Excel Worksheet Functions | |||
Unable to sort when column is included in range | Excel Discussion (Misc queries) | |||
How do i can lock more than one range in worksheet | Excel Discussion (Misc queries) | |||
VLOOKUP - unable to highlight cell range | Excel Worksheet Functions | |||
Unable to set the Locked property of the range class | Excel Programming |