- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 13# lifedidi
¦bÀx¦sªº®ÉÔ³£·|¿ù»~¡A¦p¦ó¿ù»~???- Private Sub CommandButton4_Click()
- With UserForm1
- If myday <> "" And IsDate(myday) = False Then
- MsgBox "±z¿é¤Jªº§¹¤u¤é´ÁµLªk¿ë§O", vbCritical + vbOKOnly, "½Ð«·s¿é¤J"
- Exit Sub
- End If
- .CommandButton2.Enabled = True
- ³¡ªù = .ListBox1.Text
- ½s¸¹ = .ListBox2.Text
- R = d2(³¡ªù & "-" & ½s¸¹)
- For i = 2 To 4
- Sheets("SHEET1").Cells(R, i + 1).Value = .Controls("TextBox" & i).Value
- .Controls("TextBox" & i).ForeColor = vbRed '¦â±m±`¼Æ(¬õ)
- .Controls("TextBox" & i).BackColor = vbWhite '¦â±m±`¼Æ(¥Õ)
- .Controls("TextBox" & i).Locked = True
- Next i
- ' Call UpdateBox '***³oµ{§Ç¬O¦ó§@¥Î
- ' .ListBox1.Text = ³¡ªù '***¬°¦ó«·sµ¹È
- ' .ListBox2.Text = ½s¸¹ '***¬°¦ó«·sµ¹È
- .CommandButton4.Enabled = False
- End With
- MsgBox "¤w¸g§¹¦¨Àx¦s", vbOKOnly, "½Ðª`·N"
- End Sub
½Æ»s¥N½X |
|