- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¥»©«³Ì«á¥Ñ hugh0620 ©ó 2010-12-9 11:15 ½s¿è
¦^´_ 9# oobird
¯uªº«Ü·PÁ¤j¤j~ ¯uªº¬O¼F®`~
³Ì«á¦A½Ð±Ð¤j¤j»yªkªº·N«ä
1. Dim a, b, arr(), i%, j%, m% i%ªº·N«ä¬O¤°»ò©O? (§Ú¨S¥Î¹L³o¼Ëªº¼gªk,½Ð¤j¤j±Ð¾É¤@¤U)
a = [e3:e5]
b = [d3:d4]
For i = 1 To UBound(b)
For j = 1 To UBound(a)
m = m + 1
2. ReDim Preserve arr(1 To 2, 1 To m) ReDim »P Preserve ªº·N«ä»P¥Îªk??
arr(1, m) = a(j, 1)
arr(2, m) = b(i, 1)
Next j, i
[a3].Resize(m, 2) = Application.Transpose(arr) |
|