Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
can someone please explain why this proction macro does not allow the spell check function to work when the 'userinterfaceonly' option is in it?! Sub ProtectAll() Dim sPassword As String sPassword = "LMW5487" If Application.InputBox( _ Prompt:="Please enter the password", _ Title:="Password", _ Type:=2) < sPassword Then MsgBox "Wrong password!" Exit Sub End If Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets ws.Protect Password:="sPassword", AllowFormattingCells:=True, _ Contents:=True, Scenarios:=True, userinterfaceonly:=True Next ws End Sub -- Warm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Spell Check | Excel Discussion (Misc queries) | |||
No Spell Check | New Users to Excel | |||
Spell check | Excel Worksheet Functions | |||
... Can I set Spell Check to automatically check my spelling ... | Setting up and Configuration of Excel | |||
Spell Check | Excel Discussion (Misc queries) |