Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sportingspaniel
 
Posts: n/a
Default spell check protected document

Hi.

I want to a macro (for activex control) that will spell check a password
protected document. I have locked certain cells that contain formulas
(numerical) but other cells have manual input (text) which needs spell
checking. I want a macro for my Button that will spell check and print
(printing not a problem, it just wont spell check password protected doc).

Any suggestions?

Thanks
  #2   Report Post  
Paul B
 
Posts: n/a
Default

Sportingspaniel, here is one way

Sub Spell_Check()
'spell check a protected sheet
ActiveSheet.Unprotect password:="123"
Cells.CheckSpelling CustomDictionary:="CUSTOM.DIC",
IgnoreUppercase:=False _
, AlwaysSuggest:=True
ActiveSheet.Protect password:="123"


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Sportingspaniel" wrote in
message ...
Hi.

I want to a macro (for activex control) that will spell check a password
protected document. I have locked certain cells that contain formulas
(numerical) but other cells have manual input (text) which needs spell
checking. I want a macro for my Button that will spell check and print
(printing not a problem, it just wont spell check password protected doc).

Any suggestions?

Thanks



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
Hyperlinks from one document to another document on a different dr Stephen Charts and Charting in Excel 0 January 14th 05 09:05 PM
Spell Check w/ Protection Peter Excel Discussion (Misc queries) 3 December 29th 04 10:28 PM
Help, insert a word document contents into excel tab? Dan Ward Excel Discussion (Misc queries) 2 December 15th 04 01:01 AM
Hyperlink to word document problem JS Links and Linking in Excel 0 December 8th 04 11:54 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 01:59 PM


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