½Ð°Ýcells(Äæ,¦C) ¥¿½T¶Ü?
¦]¸ê®Æ³£¦b¦P1SHEET,«ç»òÅý38Äæ´£¿ô¹Lªº¸ê®Æ"²¾°Ê"¨ì§OÄæ©O? ¤£µM·|«½Æ´£¿ô¤w¸g¹L¥hªº¸ê®Æ¡I¡I
¥Ø«eµ{¦¡½X¬O¥u´£¿ô·í¤Ñªº,¦ý¦³®É¥i¯à¥ð°²¬O¹j¤Ñ¶}±Ò³oÓÀÉ®×,´N»Ýn±NÄæ¦ì²¾°Ê¨ì§OÄæ,¦]¬O¨Ï¥Î¶W³sµ²ªºµLªk½Æ»sÁpµ²·|¶]±¼
Sub ·í¤é¨ì´Á´£¿ô()
For i = 4 To Cells(3, 2).End(xlDown).Row 'Sheets("«È¤á©ú²Ó").UsedRange.Rows.Count
If (Sheets("«È¤á©ú²Ó").Cells(i, 38).Value = Date) Then
MsgBox (Sheets("«È¤á©ú²Ó").Cells(i, 4).Value & "¸ÓÀ\³æ¤w¨ì´Á¡A½Ð©â³æ")
Sheets("«È¤á©ú²Ó").Cells(i, 45).Value = "¤w¤îÀ\"
If (Day(Data) = Day(Sheets("«È¤á©ú²Ó").Cells(i, 38).Value)) Then
MsgBox (Sheets("«È¤á©ú²Ó").Cells(i, 38).Value & "¸ÓÀ\³æ¤w¨ì´Á¡A½Ð©â³æ")
End If
Else
Sheets("«È¤á©ú²Ó").Cells(i, 45).Value = "¥ÎÀ\¤¤"
End If
Next i
End Sub |