- ©«¤l
- 79
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 193
- ÂI¦W
- 0
- §@·~¨t²Î
- Winwos 7 64 bits
- ³nÅ骩¥»
- Excel 2003/2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2010-8-25
- ³Ì«áµn¿ý
- 2019-9-20
|
¦^´_ 7# a8602soul - Private Sub CommandButton1_Click()
- '²M°£«e¦¸pºâµ²ªG
- Range("A2:H" & Rows.Count).Cells.Clear
-
- '¨Ì§Ç¦CÁ|©Ò¦³¥i¯àªº¼ÆÈ
- r = 2
- For i = 2 To Range("L" & Rows.Count).End(xlUp).Row
- ÅܼÆA = Cells(i, "L").Value
- For j = 2 To Range("M" & Rows.Count).End(xlUp).Row
- ÅܼÆB = Cells(j, "M").Value
- For k = 2 To Range("N" & Rows.Count).End(xlUp).Row
- ÅܼÆC = Cells(k, "N").Value
- For m = 2 To Range("O" & Rows.Count).End(xlUp).Row
- ÅܼÆD = Cells(m, "O").Value
-
- '¶ñ¤JÅܼÆA-D
- Cells(r, "A").Value = ÅܼÆA
- Cells(r, "B").Value = ÅܼÆB
- Cells(r, "C").Value = ÅܼÆC
- Cells(r, "D").Value = ÅܼÆD
-
- 'pºâA
- Cells(r, "E") = (2 + 2 + ÅܼÆA + ÅܼÆB) / (1 + ÅܼÆA)
- 'pºâB
- Cells(r, "F") = (ÅܼÆB + ÅܼÆC) / (5 + ÅܼÆB + ÅܼÆC + ÅܼÆD)
- 'pºâC
- Cells(r, "G") = (2 + 3 + ÅܼÆC + ÅܼÆD) / (1 + ÅܼÆC) + ÅܼÆD
- 'pºâD
- Cells(r, "H") = (ÅܼÆA + ÅܼÆD) / (ÅܼÆC + 1)
- r = r + 1
- Next m
- Next k
- Next j
- Next i
- End Sub
½Æ»s¥N½X
°ÝÃD.zip (17.3 KB)
|
|