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

[µo°Ý] ½Æ»s«e¤@­Ó¤ë¤½¦¡¦Ü·í¤ë¨Ã±N«e¤@­Ó¤ë¤½¦¡¶K¤W¬°­È

[µo°Ý] ½Æ»s«e¤@­Ó¤ë¤½¦¡¦Ü·í¤ë¨Ã±N«e¤@­Ó¤ë¤½¦¡¶K¤W¬°­È


CÄæ·í¤ë¼Æ¾Ú§¡¥Ñ¤½¦¡²Î­p¡A¸ó¤ë®É·|¥H¤H¤u¤è¦¡±N¤W¤ë¤½¦¡½Æ»s¨ì¤U¤@¦C·í¤ë¥H§Q«ùÄò²Î­p·í¤ë¼Æ¾Ú¡A¦A¥H¤H¤u¤è¦¡±N¤W­Ó¤ë¼Æ¾Ú½Æ»s¶K¤W¬°­È¥H§Q«O¦s
¨Ò¦p¡G

PS¡G«D©T©w¨C­Ó¤ëªìªº²Ä¤@¤Ñ½Æ»s¤½¦¡¡A¦p¤ëªì¬°³s°²®É¡A·|©ó¤W¯Z¤Ñ¤~°õ¦æ¥H¤W°Ê§@¡A©Ò¥H½Æ»s¶K¤Wªº°Ê§@«D©T©w¨C¤ë²Ä¤@¤Ñ°õ¦æ³á!!!

½Ð°Ý¥H¤W°Ê§@¸Ó¦p¦ó¥H¥¨¶°¹F¦¨©O¡H


´ú¸Õ.rar (4.12 KB)
*¦v¤k¤@ªTµL»~*

Sub TEST()
Dim xArea As Range, xRow As Range, M1%, M2%
Set xArea = [C2:L13]
M1 = Month(Date)
For Each xRow In xArea.Rows
¡@¡@M2 = Val(xRow.Cells(1, 0))
¡@¡@If M1 - M2 = 1 Then
¡@¡@¡@¡@If xRow(2).HasFormula Then Exit Sub
¡@¡@¡@¡@If xRow.HasFormula Then
¡@¡@¡@¡@¡@¡@xRow.Copy xRow(2)
¡@¡@¡@¡@Else
¡@¡@¡@¡@¡@¡@MsgBox xRow.Cells(1, 0) & "µL¤½¦¡©Î¤½¦¡¤£»ô¥þ!! ": Exit Sub¡@'¦P¤@¦CÀx¦s®æ³£¦³¤½¦¡¤~·|½Æ»s¡@
¡@¡@¡@¡@End If
¡@¡@End If
¡@¡@If M2 < M1 Then xRow = xRow.Value
Next
End Sub

TOP

¥»©«³Ì«á¥Ñ msmplay ©ó 2017-5-1 16:48 ½s¿è

¦^´_ 2# ­ã´£³¡ªL

­ã¤j~~~~ÁÂÁ§A¦A¦¸¼ö¤ßªºÀ°¦££®¡A¯uªº¬O¶W¼F®`ªº!!!
*¦v¤k¤@ªTµL»~*

TOP

        ÀR«ä¦Û¦b : «Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD