- ©«¤l
- 104
- ¥DÃD
- 32
- ºëµØ
- 0
- ¿n¤À
- 144
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsXP
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-2-25
- ³Ì«áµn¿ý
- 2022-9-2
|
¥»©«³Ì«á¥Ñ lifedidi ©ó 2013-6-21 11:10 ½s¿è
¦^´_ 1# lifedidi
¤j¤j¦n¡I
¤p§Ì¦Û¤v§Ë¤F¤@¨Çµ{¦¡½X¡A¦ý¬O¥d¦bµLªk³]©w§ä¥X·í¦C³Ì«á¤@ÓȵM«á¶K¤W¡A
½Ð«ü±Ð¡A
¯Ó§÷¶i¥Xï20130621.rar (734.33 KB)
³o¼Ëªº¼gªk¤£ª¾¹D¥i¤£¥i¦æ¡A¦pªGOK
¦b¦W¬°"·s¼W¸ê®Æ"ªºuserform¸Ì
¬õ¦â¬°§Ú³]©w¦b²Ä¤¦C±N¸ê®Æcopy¤W¡A¹ê»Ú¤WÀ³n¬°·í¦C¸ê®Æ³Ì«á¤@µ§offset1Äæ«ácopy¤W¡C
´M§ä±ø¥ó¬°"Äl¸¹"¥H¤Î"«¬¸¹(³W®æ)"¡A³o¨âµ§¸ê®Æ¬°¯Ó§÷¸Ì¿W¤@µL¤Gªº¸ê®Æ¡A©Ò¥H°µ¬°´M§ä¨Ì¾Ú¡A
Private Sub CommandButton1_Click()
'
²¤¹L
'
Set Äl¸¹ = Cells.Find(What:=Äl¸¹1, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=True)
With Sheet1
If Not (Äl¸¹ Is Nothing) Then
If Äl¸¹.Offset(-2, 0) = ³W®æ1 Then
i = 5
Äl¸¹.Offset(-9, i) = ·s¼W¸ê®Æ.±M®×½s¸¹
Äl¸¹.Offset(-8, i) = ·s¼W¸ê®Æ.»s³y¶Ç²¼½s¸¹
Äl¸¹.Offset(-7, i) = ·s¼W¸ê®Æ.»â®Æ«1
Äl¸¹.Offset(-6, i) = ·s¼W¸ê®Æ.»â®Æ®É¶¡1
Äl¸¹.Offset(-5, i) = ·s¼W¸ê®Æ.TextBox1
Äl¸¹.Offset(-4, i) = ·s¼W¸ê®Æ.°h®Æ«1
Äl¸¹.Offset(-3, i) = ·s¼W¸ê®Æ.°h®Æ®É¶¡1
Äl¸¹.Offset(-2, i) = ·s¼W¸ê®Æ.TextBox1
Äl¸¹.Offset(-1, i) = ·s¼W¸ê®Æ.¯u¹ê©m¦W
Äl¸¹.Offset(0, i) = ·s¼W¸ê®Æ.¯u¹ê½s¸¹
Else
MsgBox "¶ÈÄl¸¹¬Û¦P"
Exit Sub
End If
Else
MsgBox "µL¹ïÀ³¸ê®Æ"
Exit Sub
End If
End With
'
²¤¹L
'
End Sub |
|