Originally Posted by
mvidas
If it stays open that is fine, the UserInterfaceOnly argument (when true) just protects the sheet from the user, but not from VBA. Code can run as freely as you want, but the user still has limitations. The reason I mentioned putting it in workbook_open is because it has to be protected as userinterfaceonly=true once per workbook session (each time its opened it loses the UIO=true portion of the protection, an intentional safety feature).
Unfortunately I don't believe the .FillDown feature works only with formats.. but pastespecial does[vba] With Target.Offset(0, 8)
.Offset(-1, 0).Copy
.PasteSpecial xlPasteFormats
End With
Application.CutCopyMode = False[/vba]Matt