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

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

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

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

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

TOP

¦^´_ 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

        ÀR«ä¦Û¦b : ¸Ü¦h¤£¦p¸Ü¤Ö¡A¸Ü¤Ö¤£¦p¸Ü¦n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD