Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I am posting this here as well since this is the "Best Forum to Post":) I am running the following script. It unprotects, runs spell check, and then re-protects. That portion works. It does not however allow for formatting rows once the macro runs. Any ideas why? Sub Spellcheck_Click() ActiveSheet.Unprotect Password:="**" Cells.CheckSpelling SpellLang:=1033 ActiveSheet.Protect Password:="**" ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _ , AllowFormattingRows:=True End Sub I ran a similar macro that made the row formatting work, but when I tried to add the password to it it would not reprotect with the password. -- Kevin Ward ------------------------------------------------------------------------ Kevin Ward's Profile: http://www.excelforum.com/member.php...o&userid=31417 View this thread: http://www.excelforum.com/showthread...hreadid=516394 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search, Copy, Paste Macro in Excel | Excel Worksheet Functions | |||
Closing File Error | Excel Discussion (Misc queries) | |||
macro with F9 | Excel Discussion (Misc queries) | |||
Make Alignment options under format cells available as shortcut | Excel Discussion (Misc queries) | |||
Playing a macro from another workbook | Excel Discussion (Misc queries) |