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

¤U©Ô¿ï³æ

¦^´_ 1# ws2315
³o¤u§@ªíÀx¦s®æ¦³­×§ïªº¹w³]¨Æ¥ó
  1. Option Explicit
  2. Private Sub Worksheet_Change(ByVal Target As Range)
  3.     Dim Rng As Range, xDay As String
  4.     Set Rng = Range("b4:d4")   '¦~¤ë¤éªºÀx¦s®æ
  5.     If Not Intersect(Target, Rng) Is Nothing Then
  6.         xDay = Split(Rng.Cells(1), " ")(0) & "/" & Split(Trim(Rng(2)), " ")(0) & "/" & Split(Trim(Rng(3)), " ")(0)
  7.         If IsDate(xDay) Then [E4] = [¬P´Á].Cells(Weekday(xDay, vbMonday))
  8.     End If
  9.     '2. ¿ï¾Ü»ñ±ù  Ãþ§O¥X²{ ¡½»ñ±ù  ¨ä¥L¬°¡¼(¡¼Ä«ªG)
  10.     '©Î¿ï¾ÜÄå®ç  Ãþ§O¥X²{ ¡½Äå®ç  ¨ä¥L¬°¡¼(¡¼Ä«ªG)
  11.      '¨ä¥L¬°¡¼(¡¼Ä«ªG)  '*****½Ð°Ý¦ó³B¬°¨ä¥¦*************
  12. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¨Ã«D¦³¿ú¾{¬O§Ö¼Ö¡A°Ý¤ßµL·\¤ß³Ì¦w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD