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

[µo°Ý] ¦p¦ó¥ÎINPUTBOX¿é¤J¦¬³æ¤é´Á,¶]¥X¨C­Ó³B¤è¤é´Áªº¼Æ¶q¥[Á`,¨Ã¥HMSGBOXÅã¥Ü

¥»©«³Ì«á¥Ñ luhpro ©ó 2011-5-26 23:28 ½s¿è

¦^´_ 9# akimunekyo
¶]¥X¨Óªº¼Æ¶q·|ªÅ¥Õ§Ú²q¬O¿é¤Jªº¤é´Á¤å¦r¤£ Match ©Ò¥H§ì¤£¨ì¸ê®Æ,
ªþÀÉ ¦¬³æ¤é´Á-a.zip (9.65 KB) ¶}±Ò«á«ö¤U "¬d¸ß¸ê®Æ" «ö¶s¿é¤J¤é´Á 100/5/23 ´N·|¬Ý¨ìµ²ªG¤F.

¦pªG·Q­nª¾¹D¤@­Ó«ü¥Oªº¥\¯à¥i¥H¦bVBA½s¿è¾¹¤¤Mark¸Ó«ü¥O«á¦A«ö¤U F1 «öÁä´N·|¬Ý¨ì½u¤W»¡©ú¤F.
trim ¬O¥h±¼¦r¦ê«e«á¤èªºªÅ¥Õ¦r¤¸
Cstr ¬O±j¨î±N¸ê®Æ§ï¦¨¦r¦ê®æ¦¡
Dim¤¤ÅܼƦWºÙ¥kÃä¥[ : $ µ¥¦P As String   % µ¥¦P As Integer
Dim sStr$   §Yµ¥¦P Dim sStr As String

¦Ü©óµ{¦¡¥N½X¥[½s¸¹§Ú²qÀ³¸Ó¬O°ª¯Å¼Ò¦¡¤¤«ö¤W¤èªº "¥N½X" ¶K¤Wµ{¦¡¶i¥h«á°µ¥X¨Óªº.

TOP

¦^´_ 11# luhpro
ªþÀÉ
For iI = 2 To iRow
    oD(CStr(Cells(iI, 1))) = oD(CStr(Cells(iI, 1))) + Val(Cells(iI, 3))
  Next iI
³o¬qµ{¦¡½X¬O¨C¤@³B¤è¤é´Áªº¼Æ¶q¥[Á` (¨C¤@³B¤è¤é´Á ¥i¯à¦³¤£¦Pªº¦¬³æ¤é´Á­n¦Ò¼{¨ì )

TOP

¦^´_ 11# luhpro


·PÁ luhpro «e½ú¸Ñ´b,¤p§ÌÁÙ¤£¯à¤U¸üÀÉ®×,¤£¹L§Ú·|¦A¸Õ¬Ý¬Ýªº
¥Ø«eHsieh«e½úªºµ{¦¡¤w¸g¥i¥H¨Ï¥Î
  1. 01.Sub ex()
  2. 02.Set d = CreateObject("Scripting.Dictionary")
  3. 03.Set d1 = CreateObject("Scripting.Dictionary")
  4. 04.
  5. 05.myday = CDate(InputBox("¿é¤J¤é´Á", , Date))
  6. 06.For Each a In Range([D2], [D65536].End(xlUp))
  7. 07.  If a = myday Then d(a.Offset(, -3) & "") = d(a.Offset(, -3) & "") + a.Offset(, -1)
  8. 08.Next
  9. 09.For Each ky In d.keys
  10. 10.   d1(ky & ":" & d(ky)) = ""
  11. 11.Next
  12. 12.MsgBox Join(d1.keys, Chr(10))
  13. 13.End Sub
½Æ»s¥N½X
```@```NO BEST``@```
``@``JUST BETTER``@``
```@`AND BETTER`@```

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD