Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lotus123
 
Posts: n/a
Default Excel worksheet function

Can I protect my worksheet in Excel and enable the spell function...
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Only by using VBA macro code.

Requires VBA to unprotect the sheet, do the spellcheck then reprotect the
sheet.

Similar to.......

Sub Spell_Check()
ActiveSheet.Unprotect Password:="justme"
Cells.CheckSpelling SpellLang:=1033
ActiveSheet.Protect Password:="justme", DrawingObjects:=True, _
Contents:=True, Scenarios:=True
End Sub

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + R to open Project Explorer.

Find your workbook/project and select it.

Right-click and InsertModule. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Run the macro by going to ToolMacroMacros.

You can also assign this macro to a button or a shortcut key combo.


Gord Dibben Excel MVP

On Fri, 22 Apr 2005 13:20:01 -0700, "Lotus123"
wrote:

Can I protect my worksheet in Excel and enable the spell function...


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
CONVERT Function Disappered in Excel Gord Dibben Excel Discussion (Misc queries) 3 April 13th 05 07:59 PM
How can I protect an excel worksheet containing filters? JMcG Excel Discussion (Misc queries) 4 April 13th 05 03:13 PM
Excel shifts to wrong worksheet automatically Tom77 Excel Worksheet Functions 1 February 24th 05 08:10 PM
create menus in excel worksheet Anthony Excel Worksheet Functions 1 February 23rd 05 03:04 PM
Excel: Add "dBm" and "dBW" to CONVERT worksheet function Power u. Sapporo Excel Worksheet Functions 3 December 17th 04 02:33 PM


All times are GMT +1. The time now is 10:09 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"