ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] VBA²M°£¹Ï¤ù°ÝÃD

¦^´_ 1# pinkytortoise
  1. Sub Ex()
  2.     Sheets("¤Ø¤oÀËÅç").Select
  3.     ActiveSheet.Unprotect
  4.     For Each I In ActiveSheet.Shapes
  5.     If I.Type = msoPicture Then I.Delete
  6.     Next
  7.     ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
  8. End Sub
  9. Sub Ex1()
  10.     With Sheets("¤Ø¤oÀËÅç")
  11.         .Unprotect
  12.         For Each I In .Shapes
  13.             If I.Type = msoPicture Then I.Delete
  14.         Next
  15.         .Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
  16.     End With
  17. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£­n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD