- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¥»©«³Ì«á¥Ñ stillfish00 ©ó 2012-10-28 01:21 ½s¿è
¦^´_ 1# konkon3141
¥ý¨ìEXCEL¿ï¶µ¤Ä¿ï¶}µo¤Hû , ¶i¤JVisual Basic
¥ª¤è¿ï²Ä¤@Ó¤u§@ªí , ½Æ»s¥H¤U¥N½X- Private Sub Worksheet_Activate()
- 'Q1:¦C¥X¤u§@ªí²M³æ
- Dim i
- Range(Range("A1"), Range("A1").End(xlDown)).ClearContents '¥ý²M°£
- For i = 3 To Sheets.Count '¤£§t«e¨âÓ¤u§@ªí(¥Ø¿ý,«¬¿ý)
- Range("A1").Offset(i - 3, 0) = Sheets(i).Name
- Next
-
- 'Q2:pºâÁ`¼Æ
- Range("B1") = "=COUNTA(" & Sheets(3).Name & ":" & Sheets(Sheets.Count).Name & "!B:B)" & "-COUNTA(" & Sheets(3).Name & ":" & Sheets(Sheets.Count).Name & "!B1:B8)"
- End Sub
½Æ»s¥N½X |
|