View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
DeeW DeeW is offline
external usenet poster
 
Posts: 8
Default Storing macros in one workbook

I followed the instructions posted to Protect All Worksheets in a Workbook:

Sub Protect_All_Sheets()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
ws.Protect password:="123"
Next ws
End Sub

This worked well. Now I need to add this to the Personal Macros Workbook so
that it is accessible for other workbooks. How can this be done?