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

[µo°Ý] Åý«ö¶sºû«ù©T©w¦ì¸m+Àx¦s®æ®æ¦¡³]©w

¦^´_ 4# GBKEE


    ÁÂÁÂGBKEEª©¥D¡A­è¸Õ¤F¿z¿ï½T¹ê¨S¦³°ÝÃD¡A¦ý§Y¨Ï¨ú®ø¤F­áµ²µ¡®æ¡A
    ¥u­n±N±²¶b©¹¤U©Ô«ö¶sÁÙ¬O·|®ø¥¢¦bµøµ¡¤¤¡A¤@©w­n©Ô¨ì³]¸m«ö¶sªº¦ì¸m¤~¥i¥HÂI¨ì«ö¶s¡A
    ¬O¦³·j´M¹L¤@½gÃþ¦ü¥\¯àªº¤å³¹
    http://forum.twbts.com/viewthrea ... ighlight=%AB%F6%B6s
    ¦ý¦]¬°¬ã¨s¤£°_¨Ó­n¦p¦ó®M¥Î¡A©Ò¥H¥u¦n¦A«pÁy¥Öªº´£°Ý¥X¨Ó

TOP

¦^´_ 3# emma
­áµ²µ¡®æ ¬O¨S¿ìªk¦p§A©Ò»¡ªº¥\¯à ,¥[¤j­áµ²µ¡®æªº¦C¼Æ§a
¸Õ¸Õ ¦Û°Ê¿z¿ï ¬O¥i¥Hªº

TOP

¦^´_ 2# GBKEE

ÁÂÁÂGBKEEª©¥D

µ{¦¡ªº³¡¥÷¬O¨S°ÝÃD¤F¡A¦ý«ö¶sªº³¡¥÷ÁÙ¬OµLªk©T©w¦b¦ì¸m¤W¡A¬O§Ú¿òº|¤F¤°»ò¶Ü?


¡õ¤£³æ¥u¬O°µ³o­Ó°Ê§@¶Ü?


VBAtest2.rar (11.48 KB)

TOP

¦^´_ 1# emma
¤G­Ó«ö¶sºû«ù©T©w¦b¨Ï¥ÎªÌªºµøµ¡¤§¤¤¡A
³o¸Ì¤w°Ý¹L!

Åã¥Ü®æ¦¡¬°¡u¬õ¦r+¤d¤À¦ì¼Ë¦¡¡v

  1. Sub ½T©w_Click()
  2. Dim E As Shape, Rng As Range
  3. Sheet2.UsedRange.Offset(1).Clear
  4. Set Rng = Sheet2.UsedRange.Cells(2, 1)
  5. For Each E In Sheet1.Shapes
  6. If E.Type = msoFormControl And E.Name Like "Check Box*" Then
  7. If E.OLEFormat.Object.Value = 1 Then
  8. Rng.Offset(, 0) = E.TopLeftCell.Offset(, 1).Value
  9. Rng.Offset(, 1) = E.TopLeftCell.Offset(, 2).Value
  10. Rng.Offset(, 2) = E.TopLeftCell.Offset(, 5).Value
  11. Rng.Offset(, 3) = E.TopLeftCell.Offset(, 7).Value
  12. Set Rng = Rng.Offset(1)
  13. End If
  14. End If
  15. Next
  16. With Rng.CurrentRegion.Offset(1).Columns(3) '²Ä3Äæ
  17. .NumberFormatLocal = "#,##0_ "
  18. .Font.ColorIndex = 3
  19. End With
  20. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : µÊ®ð¼L¤Ú¤£¦n¡A¤ß¦a¦A¦n¤]¤£¯àºâ¬O¦n¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD