Google
 
Web itpro-blogger.blogspot.com
火曜日, 5月 31, 2005

[EXCEL]フォント色の設定

http://hp.vector.co.jp/authors/VA006682/vbaref/vbaref4.htm

■疑問点
 シートの保護と解除

■解決策
・シートの保護
Excel2003
Excel.Application.ActiveSheet.Protect(Contents:=True, UserInterfaceOnly:=True, AllowFormattingCells:=True)

Excel2000
Excel.Application.ActiveSheet.Protect(DrawingObjects:=True, Contents:=True, Scenarios:=True)
・シートの解除
Excel.Application.ActiveSheet.Unprotect()






Comments: コメントを投稿

<< Home

This page is powered by Blogger. Isn't yours?