- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-8-18 09:22 ½s¿è
¦^´_ 15# yliu
±N§A¥Ø«eªº Report ¤©¥Hµyµy¾ã²z¤@¤U¡A¤è«K¾\Ū¤ÎÁY¤p(ºë²)µ{¦¡½X¡C
¨Ñ§A°Ñ¦Ò»PÀ³¥Î¡G- Private Sub ComboBox1_Change()
- Dim d As Object, j As Integer
-
- Sheets("report").Unprotect ("789456123")
- ClearFlds
½Æ»s¥N½X- If dic.Count = 0 Then
- MsgBox "¨S¦³Ä³»ù¸ê®Æ"
- ClearFlds
- Exit Sub
- End If
½Æ»s¥N½X- Sub ClearFlds()
- With Sheets("report")
- ' .Cells(5, 2) = ""
- ' .Cells(6, 2) = ""
- ' .Cells(7, 2) = ""
- ' .Cells(8, 2) = ""
- ' .Cells(9, 2) = ""
- ' .Cells(10, 2) = ""
- ' .Cells(13, 2) = ""
- ' .Cells(14, 2) = ""
- ' .Cells(15, 2) = ""
- ' .Cells(16, 2) = ""
- ' .Cells(18, 2) = ""
- ' .Cells(19, 2) = ""
- ' .Cells(20, 2) = ""
- ' .Cells(21, 2) = ""
- .Range("B5:B10") = ""
- .Range("B13:B21") = ""
-
- ' .Cells(13, 3) = ""
- ' .Cells(14, 3) = ""
- ' .Cells(15, 3) = ""
- ' .Cells(16, 3) = ""
- .Range("C13:C16") = ""
-
- .Cells(5, 4) = ""
- ' .Cells(9, 4) = ""
- ' .Cells(10, 4) = ""
- .Range("D9:D10") = ""
-
- ' .Cells(13, 4) = ""
- ' .Cells(14, 4) = ""
- ' .Cells(15, 4) = ""
- ' .Cells(16, 4) = ""
- ' .Cells(20, 4) = ""
- ' .Cells(21, 4) = ""
- .Range("D13:D21") = ""
- End With
- End Sub
½Æ»s¥N½X
ReportB.rar (23.43 KB)
|
|