- ©«¤l
- 162
- ¥DÃD
- 44
- ºëµØ
- 0
- ¿n¤À
- 244
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-4-4
- ³Ì«áµn¿ý
- 2022-10-3
|
- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- ComboBox1.List = Array("aa", "bb", "cc", "dd", "ee")
- ComboBox2.List = Array("aa", "bb", "cc", "dd", "ee")
- ComboBox3.List = Array("aa", "bb", "cc", "dd", "ee")
- ComboBox4.List = Array("aa", "bb", "cc", "dd", "ee")
- ComboBox5.List = Array("aa", "bb", "cc", "dd", "ee")
- A = ComboBox1.Value
- B = ComboBox2.Value
- C = ComboBox3.Value
- D = ComboBox4.Value
- E = ComboBox5.Value
- [A1].Value = A
- [A3].Value = B
- [A5].Value = C
- [A7].Value = D
- [A9].Value = E
- With Sheets("¤u§@ªí1")
- Dim MyDate, MyWeekDay
- MyDate = Now
- MyWeekDay = Weekday(MyDate)
- If MyWeekDay > 3 Then
- ContainerDay = Format(Date + 4 - Weekday(Date, 2) + 7, "e.m.d")
- Else
- ContainerDay = Format(Date + 4 - Weekday(Date, 2), "e.m.d")
- End If
- .[F1,F3,F5,F7,F9] = ContainerDay
- End With
- End Sub
½Æ»s¥N½X ¦^´_ 2# bsy4life |
|