Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all! I have multiples spreadsheets with different amount of sheets with different names each sheet. What I want to do is to run a Macros to protect all sheets, and hiding the formulas, that works for every different workbook and sheet. Any help will be greatly appreciated. -- mik00725 ------------------------------------------------------------------------ mik00725's Profile: http://www.excelforum.com/member.php...o&userid=16169 View this thread: http://www.excelforum.com/showthread...hreadid=481996 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for each sh in Activeworkbook.worksheets
sh.activate sh.Cells.Locked = True sh.Cells.FormulaHidden = True sh.Protect Password:="ABCD" Next -- Regards, Tom Ogilvy "mik00725" wrote in message ... Hi all! I have multiples spreadsheets with different amount of sheets with different names each sheet. What I want to do is to run a Macros to protect all sheets, and hiding the formulas, that works for every different workbook and sheet. Any help will be greatly appreciated. -- mik00725 ------------------------------------------------------------------------ mik00725's Profile: http://www.excelforum.com/member.php...o&userid=16169 View this thread: http://www.excelforum.com/showthread...hreadid=481996 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protect macros? | Excel Discussion (Misc queries) | |||
Macros for Protect/Unprotect all sheets in a workbook | Excel Programming | |||
Macros for Protect/Unprotect all sheets in a workbook | Excel Discussion (Misc queries) | |||
Protect Macros | Excel Discussion (Misc queries) | |||
Protect my macros | Excel Programming |