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

¦³Ãö½Æ»s«ü©w¶K¤Wªº°ÝÃD?

¦³Ãö½Æ»s«ü©w¶K¤Wªº°ÝÃD?

[ª©¥DºÞ²z¯d¨¥]
  • GBKEE(2016/1/13 06:44): ªþÀÉ ¬Ý¬Ý B$1:K$1=¬O¦p¦óÀH®É§ó·s¼Æ­È

¥»©«³Ì«á¥Ñ lucky12345 ©ó 2016-1-13 04:01 ½s¿è

B$1:K$1=ÀH®É§ó·sªº¼Æ­È
·íA$1=2 (®É ) ±NB$1:K$1½Æ»s¨ìB2:K2
·íA$1=3         ±NB$1:K$1½Æ»s¨ìB3:K3
·íA$1=4         ±NB$1:K$1½Æ»s¨ìB4:K4     ..........¥H¦¹Ãþ±À
·íA2<=-1  Then B2:K2401="A"
½Ð¦U¦ì¤j¤j«ü¾É  ÁÂÁÂ
¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

¥»©«³Ì«á¥Ñ lucky12345 ©ó 2016-1-13 08:12 ½s¿è

ÁÂÁª©¤jªº¦^À³
D1:K1  ªº¼Æ¾Ú ©MÃÒ°ÓDDE³sµ²
B1=¶R»ù  =   MMSDDE|FUSA!'[email protected]'
C1=½æ»ù    =MMSDDE|FUSA!'[email protected]'
D1=³Ì°ª»ù
E1=³Ì§C»ù
F1=¦¨¥æ»ù
G1=¦¨¥æ±i¼Æ
H1=¦¨¥æ®É¶¡
I1=©e¶R¶q
J1=©e½æ¶q
K1=º¦¶^
¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

'¬O¤£¬O­Ó·N«ä? ¸Õ¸Õ¬Ý:
'½Ð¶K¨ìÃöªº¤u§@­¶¤W
Private Sub Worksheet_Change(ByVal Target As Range)
    Dim Rng As Range
    If Target.Count > 1 Then Exit Sub
    If Target <> [A1] And Target <> [A2] Then Exit Sub
    If Target = [A2] And [A2] = -1 Then
        [B2:K2401] = "A"
    ElseIf Target = [A1] And [A1] > 1 Then
        [B2:K2401] = ""    '¸ê®Æ­n¤£­n²M°£? ¦p¤£²M°£½Ð±N³o¦Cµù¸Ñ±¼
        Set Rng = [B$1:K$1]
        Rng.Copy Rng.Offset([A1] - 1, 0)
    End If
End Sub

TOP

¦^´_ 3# yen956
¦^yen956 ¤j      ¥¿¸Ñ
«D±`·PÁÂ! ¯¬±z¦n¹B  ¤ß·Q¨Æ¦¨
¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

¥»©«³Ì«á¥Ñ lucky12345 ©ó 2016-1-13 19:07 ½s¿è

¦^´_ 3# yen956
yen956¤j±z¦n........
¨Ï¥Î«áµo²{¨â­Ó°ÝÃD?  ½Ð±zÀ°¦£¾ßµø¤@¤U  ¸Ó¦p¦ó­×§ï  ÁÂÁ±z
1. Àx¦s®æM1=8    ­YK1=M1   K1·íµM¤]¬O=8   ¤£¹L½Æ»s¶K¤W¤§«á ¤£¬O=8   ¦Ó¬O=0
2. ·íA1  ¿é¤J2 «öEnter   ´N·|½Æ»s¤@¦¸    ¥i¬O³o A1ªº¼Æ¾Ú ¤]¬ODDE³sµ²   (±µ¦¬¥~¨Ó¼Æ¾Ú)    123456789---------¨ì2401 (A1 ·|©T©w5¬í§ó·s¤@¦¸¼Æ­È)
    ·íA1=3   ·|½Æ»s¤@¦¸    ·íA1¥Ñ3§ïÅÜ  ¦¨¬°4  ´N·|IJµo½Æ»s¤@¦¸    ·íA1¥Ñ4§ïÅÜ  ¦¨¬°5  ´N·|IJµo½Æ»s¤@¦¸  (·íA1¼Æ¦r§ïÅÜ´N·|¦Û°ÊIJµo   ¦Ó¤£¬O¥Î¤â°Ê«ö Enter)
¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

¦^´_ 5# lucky12345
Q1. Àx¦s®æM1=8    ­YK1=M1   K1·íµM¤]¬O=8   ¤£¹L½Æ»s¶K¤W¤§«á ¤£¬O=8   ¦Ó¬O=0       
A1. ±N K1 ¤½¦¡§ï¬° =M$1       
Q2. §Ú§Ë¿ù§Aªº­ì·N,        
­ì¨Ó¬O·Q­n¤â°Ê§ó·s,
¸Õ¸Õ¬Ý:
  1. '½Ð¶K¨ìÃöªº¤u§@­¶¤W
  2. Private Sub Worksheet_Change(ByVal Target As Range)
  3.     Dim Rng As Range
  4.     Dim Ans As Integer
  5.     If Target.Count > 1 Then Exit Sub
  6.     If Target <> [A1] And Target <> [A2] Then Exit Sub
  7.     If Target = [A2] And [A2] = -1 Then
  8.         Ans = MsgBox("¬O§_­n±N [B2:K2401] ªº¸ê®Æ±N¥þ³¡¥Î 'A' Âл\?", vbYesNo)
  9.         If Ans = 7 Then Exit Sub
  10.         [B2:K2401] = "A"
  11.     ElseIf Target = [A1] And [A1] > 1 Then
  12. '        [B2:K2401] = ""    '¸ê®Æ­n¤£­n²M°£? ¦p¤£²M°£½Ð±N³o¦C¸Ñ±¼
  13.         Ans = MsgBox("¬O§_­n¶}©l½Æ»s¸ê®Æ?", vbYesNo)
  14.         If Ans = 7 Then Exit Sub
  15.         Set Rng = [B$1:K$1]
  16.         Rng.Copy Rng.Offset([A1] - 1, 0)
  17.     End If
  18. End Sub
½Æ»s¥N½X

TOP

yen956¤j.....·PÁ±zªº¦^À³
1. Àx¦s®æk1=2+3    µ¥©ó6    µM¦Ó©¹¤U½Æ»s  ¬O=6 ¦Ó¥BÀx¦s®æ¤º±aµÛ¤½¦¡ =2*3  
     ¥¿¸Ñ¬O  ¯Â¼Æ­È6  ¤º¤£±a¤½¦¡(=2*3)
¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

¥»©«³Ì«á¥Ñ lucky12345 ©ó 2016-1-14 15:17 ½s¿è

½Ð¬ÝªþÀÉ...............


­p¼Æ¾¹¦b sheet1

­p¼ÆTime-1.rar (7.78 KB)

¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

'§ï¥Î¨â­Ó«ö¶s¸Õ¸Õ¬Ý!!
'¸ò [A6] ¦³Ãö¶Ü? ¨Ì[A1] ©Î [A6] «ü©w¦C, ¶K¤W²Ä¤@¦Cªº­È?
'¤U¦C«Y¨Ì[A1]«ü©w¦C, ¶K¤W²Ä¤@¦Cªº­È
Private Sub CommandButton1_Click()
    Dim Rng As Range, Lst As Integer
    If [A1] > 1 Then
        Set Rng = [B$1:K$1]
        Rng.Copy
        Rng.Offset([A1] - 1, 0).PasteSpecial Paste:=xlPasteValues   '¥u¶K¤W­È, ¤½¦¡®æ¦¡µ¥¤£·|¶K¤W
    End If
End Sub

'¥Î'A'Âл\©Î¥þ³¡²M°£
Private Sub CommandButton2_Click()
    If [A2] = -1 Then
        '¤U¦C¤G¿ï¤@, ¤£­n¥Î¨ìªº, ½Ð¦b«e­±¥[ '
        '
        [B2:K2401] = "A"    '¥þ³¡¥Î'A'Âл\
'        [B2:K2401] = ""     '¥þ³¡²M°£
    End If
End Sub

TOP

¥»©«³Ì«á¥Ñ lucky12345 ©ó 2016-1-14 19:55 ½s¿è

yen956¤j±z¦n
¥i¯à¬O§Úªí¹F¤£¬O«Ü²M·¡  ­«·s±H¤WªþÀÉ  ³o¼Ë¤ñ¸û¤è«K´ú¸Õ   ½ÐÀ°¦£¦AÀ˵ø ¤@¤U  ÁÂÁ±z

­p¼ÆTime-2.rar (9.07 KB)

¥Ø«e¤p¾Ç¥Í´Á«Ý¥L¤é¶i°ê¤¤

TOP

        ÀR«ä¦Û¦b : ¤Ó¶§¥ú¤j¡B¤÷¥À®¦¤j¡B§g¤l¶q¤j¡A¤p¤H®ð¤j¡C
ªð¦^¦Cªí ¤W¤@¥DÃD