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

vba¯à§_°µ¨ìªþ¥ó¤¤ªº°ÝÃD

vba¯à§_°µ¨ìªþ¥ó¤¤ªº°ÝÃD

¤j¤j­Ì, §Ú¦³¤@­Óºc·Q, ¤£ª¾vba¥i§_°µ¨ì, ½Ð¤j¤j¨ó§U, ÁÂÁÂ!!
Book1.rar (6.98 KB)

¦^´_ 1# ©P¤j°¶

¤u§@ªí¼Ò²Õ
  1. Private Sub WorkSheet_SelectionChange(ByVal Target As Range)
  2. If Target.Address = [B65536].End(xlUp).Offset(1, 0).Address Then
  3.    Target.Value = Now
  4.    Cells(Target.Row, 1) = Target.Row - 1
  5.    Yearc = Application.CountIf(Range([C2], [C65536].End(xlUp)), "*" & Year(Now))
  6.    Cells(Target.Row, 3) = Format(Yearc + 1, "000") & "/aaa/" & Year(Now)
  7. End If
  8. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# register313
·PÁ¤j¤j¦^À³, ÁÂÁÂ!!

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD