- ©«¤l
- 234
- ¥DÃD
- 19
- ºëµØ
- 0
- ¿n¤À
- 276
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows XP
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-1-7
- ³Ì«áµn¿ý
- 2021-10-7
|
¦^´_ 11# PJChen
¥[Ó"."
Set Sh = W.Sheets("¦h")
Sh.Activate
i = "A2:E2"
xcol = Sh.Range(i).Columns.Count '¬Ý´Xµ§¸ê®Æ
With W.Sheets("·s")
W.Sheets("·s").Activate
.Range("A4" & xcol).Value = "=" & "¦h!A3*¦h!C3" '¤½¦¡
.Range("A4" & xcol).Value = .Range("A4" & xcol).Value
End With
¥t¥~Range("A4" & xcol),¦pªGxcol=5,«h¬°Range("A45")
¦pªG¬OnRange("A4")¥[¤WxcolªºÄæ¦ì«h§ï¬°
.Range("A4").Resize(1, xcol).Value = "=" & " ¦h!A3*¦h!C3" '¤½¦¡
.Range("A4").Resize(1, xcol).Value = .Range("A4").Resize(1, xcol).Value
¦pªGxcol=5,³o¼ËRange("A4")¦ÜRange("E4")³£·|©ñ¤J¤½¦¡,¦ý¤½¦¡ªº¦ì¸m·|ÅܤÆ
¦pªGn¦V¤U©ñ´N±NResize(1,xcol)§ï¬°Resize(xcol,1)
¥H¤W´£¨Ñ°Ñ¦Ò |
|