シートの保護

シートの保護しつつ以下は許可する設定
・ロックされたセル範囲の選択
・ロックされていないセル範囲の選択
・セルの書式設定

f:id:shikaku:20171115104925p:plain

ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
        , AllowFormattingCells:=True