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

Àx¦s®æ«OÅ@

Àx¦s®æ«OÅ@

¦U¤j¤j, ¦n
¤p©f¦³¤@°ÝÃD½Ð±Ð, ¦b¤u§@ªí¤¤,°²³] a1:a100¥Î®a·Q¥Î¤@«ö¶s, ¦b¸Ó½d³ò¤º·í¥Î®a©ó¿é¤J¸ê®Æ«á©ó¨ä¤¤¥ô¦óÀx¦s®æ¤¤, µM«á¥Î®a«ö¤@¤U«ö¶s, ¸ÓÀx¦s®æ«K³Q«OÅ@, ¦p¤p©f·Q¨ú®ø¸ÓÀx¦s®æ«OÅ@¦P¼Ë¦a«ö¤@¤U«ö¶s, Àx¦s¦s®æ§Y¥i½s¿è¨Ï¥Î,
¤p©f´¿¨Ï¥ÎÀx¦s®æ«OÅ@, ¦ý¥X¨Óªº®ÄªG¨Ã¤£§¹¬ü, ¬G½Ð¦U¤j¤jÀ°¦£, ÁÂ!

¦^´_ 7# Hsieh
hsiehª©¤j, ¦­±á
¤p©f¥ý¦æ·PÁ¤j¤j¨ó§U¤W­zµ{¦¡,  ¦P®É¥ç§âµ{¦¡¥[¤J¤u§@¤¤¨Ï¥Î, ¯uªº«Ü¨ü¥Î, ¦ý·í¤¤¹J¤W¤@­Ó¤p°ÝÃD, ¬O§_¥i¥H°µ¨ì·í¥ô¦ó¥Î®a­×§ï¸ê®Æ, ³£¥i¥H°lÂܨä§ó§ï³B, ¤p©f´¿¸Õ¥Îexcel°lÂÜ­×­q, ¦ý­ì¦b¦³µ{¦¡ªºÀɮ׬O¥Î¤£¨ì³o¥\¯à,
¬G¤jµÛ胆¤l, ¦A§â°ÝÃD´£¥X, §Æ±æ¤j¤j¯à¨ó§U, ²{§â°ÝÃD²M¦â²³ø¤@¤U.
·í¦³¥Î®a­n­×§ï¿é¤J¸ê®Æ®É, ¿ï¾Ü¦³­ÈªºÀx¦s®æ, «ö«ö¶s1, Àx¦s®æ¸Ñ¥h«OÅ@, ¥i¥H½s¿è, ²{®É°ÝÃD¦b©ó¦¹, ·í¥Î®a§¹¦¨­×§ï«á, «ö¤U«ö¯Ã2, ¥Î®aÂ÷¶}ÀÉ®×, ³o¨Ç¥Î§@¥i¯à¥u¦³¥Î®aª¾¹D, ·í¨ä¥L¦P¨Æµoı¨ìÀɮצ³­×§ï, ¦P¨Æ­Ì¬O¤£ª¾½Ö¤H­×§ï,
¥i¦³¤è¿ì°O¿ý¸Ó¸ê®Æ¤w§@Åܧó, ¤ÎÅܧó®É¶¡, ©Î¦³§ó¦n¤è¦¡.
³Ì«á½Ðhsiehª©¤j¤Å©Ç¤p©f·÷·Ð, ÁÂÁÂ, ¯¬°·±d, ·P®¦.

TOP

¦^´_ 10# Hsieh
ª©¤j©ú¥Õ¤F, ¤p§ÌÁÂÁÂ,
¦pªG«ö¤U«ö¶s1, ¦³­ÈªºÀx¦s®æÅܬ°¶À¦â, Àx¦s®æ¦P®É¨ü¨ì«OÅ@, §Ú·Q§â³o½d³ò§ï¬°e4:aa100, ³o´N¬O§_¥i¥H,
³Ì«á, ¯¬Ä@ª©¤j§Ö¼Ö..
hong912

TOP

¦^´_ 9# hong912
³o°ÝÃD«ü¥Ü¾Þ§@µ{§Ç¤Wªº»{ª¾
¼Ó¥Dªº»Ý¨D¬O¦b½d³ò¤º­ì¥»³£µL«OÅ@ª¬ºA¨Ñ¨Ï¥ÎªÌ¿é¤J¸ê®Æ
·í¨Ï¥ÎªÌ¿é¤J§¹¸ê®Æ«á¡A¥²¶·«ö¤U«ö¶s1¡A¤~·|¹ï¤w¦³ªº¸ê®Æ§@«OÅ@
ªÅ®æ¤´µM¥i¥H¦Û¥Ñ¿é¤J¡A­Y¿é¤J§¹¦¨¨S¦³«ö¤U«ö¶s1¨º»ò¸ÓÀx¦s®æ¤´µM¯à°÷­×§ï
©Ò¥H¡A§A´ú¸Õ®É¬O§_¦³·Ó¦¹µ{§ÇÅÞ¿è¨Ï¥Î?¦pªG¦³«ö¤U«ö¶s1¥H«á´NÀ³¸Ó·|¹ï¦³¸ê®ÆªºÀx¦s®æ«OÅ@
§Aªº»Ý¨D¥u¬O¦h¤F¹ïÀx¦s®æÃC¦â°µ³]©w
¸Õ¸Õ
  1. Private Sub CommandButton1_Click()
  2. Dim Rng As Range
  3. Set Rng = Cells '«ü©w§@¥Î½d³ò
  4. Me.Unprotect 12345 '¨ú®ø¤u§@ªí«OÅ@
  5. Cells.Locked = False '©Ò¦³Àx¦s®æ¨ú®øÂê©w
  6. If Application.CountA(Rng) > 0 Then '½d³ò¤º¦³¸ê®Æ
  7. Rng.Interior.ColorIndex = xlNone '¥h°£©³¦â
  8. With Rng.SpecialCells(xlCellTypeConstants) '¦³¸ê®ÆªºÀx¦s®æ³]©w
  9.   .Interior.ColorIndex = 6 '©³¦â¬°¶À¦â
  10.   .Locked = True 'Âê©wÀx¦s®æ
  11. End With
  12. End If
  13. Me.Protect 12345 '¤u§@ªí«OÅ@
  14. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 7# Hsieh
¤µ¤Ñ¨ì³o½×¾Â, ¬Ý¨ì³o½g¤å³¹, ªº½T¥ç¤p§ÌÀò¯q¨}¦h, ¦³­Ó°ÝÃD½Ð±Ðª©¥D, µ{¦¡¤¤12345À³¬O±K½X, ¤p§Ì¸Õ¥Î, «hµL¶·¿é¤J±K½X, ½Ð±Ð¤j¤j³o±K½X©óµ{¦¡¤¤ªº§@¥Î¬O,
¥t°²­Y·í¨Ï¥ÎªÌ¨S¦³¨Ï¥Î±ø¥ó®æ¦¡¤Æ, ·í§¹¦¨¸ê®Æ¿é¤J«á, ¨Ï¥ÎªÌ«ö¤U«ö¶s1, ³o®ÉÀx¦s®æ¤~Åܦâ¤Î«OÅ@, ´N¬O§_¥i¥H,  Áٱ檩¤j±Ð¾É, ÁÂÁÂ!!
hong912

TOP

¦^´_ 7# Hsieh
ÁÂÁÂhsiehª©¤j, ¤p©f°J¤ß·PÁÂ, ¯¬§Ö¼Ö,

TOP

¦^´_ 6# 317
  1. Private Sub CommandButton1_Click()
  2. Me.Unprotect 12345 '¨ú®ø«OÅ@
  3. Cells.Locked = False 'Àx¦s®æ¨ú®øÂê©w
  4. If Application.CountA(Range("G3:AK100")) > 0 Then Range("G3:AK100").SpecialCells(xlCellTypeConstants).Locked = True '«DªÅ®æÂê©w
  5. Me.Protect 12345 '«OÅ@¤u§@ªí
  6. End Sub

  7. Private Sub CommandButton2_Click()
  8. Me.Unprotect 12345 '¨ú®ø«OÅ@
  9. If Not Intersect(Range("G3:AK100"), Selection) Is Nothing Then Selection.ClearContents
  10. Cells.Locked = False 'Àx¦s®æ¨ú®øÂê©w
  11. If Application.CountA(Range("G3:AK100")) > 0 Then Range("G3:AK100").SpecialCells(xlCellTypeConstants).Locked = True '«DªÅ®æÂê©w
  12. Me.Protect 12345 '«OÅ@¤u§@ªí
  13. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 4# Hsieh
hsiehª©¤j, ÁÂÁ¦^À³,
¤p©f·PÁÂ, ¤p©f·Q§@¤p³\­×§ï, ¤£ª¾¤j¤j­Ì¯à¨ó§U, ÁÂ

­×§ï1,      ¨ü«OÅ@½d³ò±qG3:AK100, ¦¹½d³ò¥~¥Î®a¥iÀH·N½s¿è,

­×§ï2,      °ò©ó¤p©f¦b¸Ó½d³ò¤º¥Î¤F±ø¥ó®æ¦¡¤Æ, ·í¦³­È®É, Àx¦s®æÅÜ´«ÃC¦â, ¦b¥Î®a«ö¤U«ö¶s2®É¬O§_¦P®É¥i¥H²MªÅ¸ÓÀx¦s¸ê®Æ, ¦]¦³®É¥Î®a·Q¨ú®ø¤w¿é¤Jªº­È, Àx¦s®æÁÙ¬OÅܤF¦â, ¥Î®a¥²¶·«ö¨ä¥k°·«ö¤U²MªÅ¸ê®Æ, Àx¦s®æ¤~¯à¦^´_­ì¨Ó¥¼¿é¤J­Èª¬ºA.µL¦â.

                 ¬G§Æ±æ©ó¸Ó½d³ò¤º¿ï¾Ü¤FÀx¦s®æ, «ö«ö¶s2, ¸ÓÀx¦s¦P®É³Q²MªÅ,

¥ý¦æÁÂÁª©¤j

TOP

¦^´_ 3# kimbal
·PÁ¤j¤j¦^À³,
¤p©f¨ü±Ð¤F, ¦ý¦³¤@ÂI¤p°ÝÃD·Q¥[¤J, ¥i§_¦bµ{¦¡¤¤¥[¤J¤@¦æ²MªÅÀx¦s®æ¸ê®Æ, ·í¤p©f¶i¦æ½s¿è®É«ö«ö¶s2, Àx¦s®æ¸ê®Æ¦P®É²MªÅ, ¦]¤p©f©óÀx¦s®æ¤¤³]©w¤F±ø¥ó®æ¦¡¤Æ, ¬G§Æ±æ¯à¥[¤J¦¹µ{¦¡, ÁÂÁÂ!!

TOP

¦^´_ 2# 317

¸Õ¸Õ
  1. Private Sub CommandButton1_Click()
  2. Me.Unprotect '¨ú®ø«OÅ@
  3. Me.Cells.Locked = False 'Àx¦s®æ¨ú®øÂê©w
  4. Me.Cells.SpecialCells(xlCellTypeConstants).Locked = True '«DªÅ®æÂê©w
  5. Me.Protect '«OÅ@¤u§@ªí
  6. End Sub

  7. Private Sub CommandButton2_Click()
  8. Me.Unprotect '¨ú®ø«OÅ@
  9. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD