Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protected Sheets, Shared Workbook & Spellcheck...

Status
Not open for further replies.

hobar

Programmer
Sep 15, 2005
4
CA
I've got a workbook that our office uses to pass along information. Each sheet is protected as well as the workbook, and it's shared (there are about 20 users per day, and none of them are very computer-friendly). Unfortunately, most of them can't spell either. I'd like to be able to use the spellcheck on the unlocked parts of the sheets.

I'm trying to avoid using VBA, because it's a shared workbook and I'm not sure of the restrictions, but does anyone have any hints or tips that don't involve my coworkers going back to grade school?
 


Hi,

Have you looked at HELP for limitations of shared workbooks?

What did you find?

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
I used the code:

activesheet.unprotect ("password")
activesheet.protect ("password")

around my spell check macro code. All it did was run the macro, but if there were locked fields or protect parts of the workbook, it disabled the spell checker all together. This code above was slick because it unlocked the whole document while it ran the code, but locked it before the user could touch the form.
 


So what's the problem?

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
Skip, I've read the limitations, but I find it's a little vague. It says that macros will stop once they come up against an invalid instruction. I guess the real question is if there's a way to share or unshare a workbook programmatically.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top