Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default spellcheck a textbox on a protected worksheet

In a protected Workbook, users enter text into an unprotected Text Box. the
users cannot do a spellcheck because of the protection.

I can produce a simple macro to unprotect & start the spellcheck to work. I
then know how to re-protect the sheet but how do I identify when the spell
check has finished because every spell check is different. I guess it has to
be the code that happens when the spellcheck dialogue box closes but cannot
identify that code

Can anyone help

my basic macro is

Sub Spellcheck()
'
' Spellcheck Macro
' Macro recorded 04/06/2007
'
ActiveSheet.Unprotect Password:=€¯Fred€¯

ActiveSheet.Shapes("Text Box 1").Select
Selection.CheckSpelling SpellLang:=2057

End Sub



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
Textbox from 1st worksheet to textbox to other multiple sheets LRay67 Excel Programming 2 March 18th 08 02:20 PM
Spellcheck function in Protected Sheet gwinder Excel Worksheet Functions 11 January 28th 07 06:31 PM
Settiing up spellcheck in a protected Excel document teejay Excel Worksheet Functions 2 May 2nd 06 04:09 PM
Unprotect a textbox in a protected worksheet RSchatzman Excel Discussion (Misc queries) 1 April 25th 06 12:30 AM
How can I use spellcheck on a spreadsheet that is protected? abarr Excel Worksheet Functions 2 January 31st 05 07:51 PM


All times are GMT +1. The time now is 12:19 PM.

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"