- ©«¤l
- 209
- ¥DÃD
- 43
- ºëµØ
- 0
- ¿n¤À
- 262
- ÂI¦W
- 0
- §@·~¨t²Î
- win 7
- ³nÅ骩¥»
- office 20**
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-11-3
- ³Ì«áµn¿ý
- 2017-4-16
|
¦^´_ 4# GBKEE
G¤j¡A·PÁ±z¡A
§Ú³£¨S¦³·Q¨ì¥i¥HÁ׶}°j°é§¹¦¨VBA¡A§Úµy·Lקï¤Fµ{¦¡¡A¦bmatchªº³¡¤À¡AÀ³¸Ó¬On¤Ï¹L¨Ó¬d¸ß¡A¤]´N¬On¥ÎAÄæ¬dCÄæ(¦Ó«DCÄæ¬dAÄæ)¡A³o¼Ë¤@¨Ó´N¥i¥H±o¨ì§Únªºµ²ªG¡Aקï«áµ{¦¡¦p¤U¡G
Sub te()
With [C1:C9].Offset(, -1)
.FormulaR1C1 = "=match(rc[-1],c3:c3,0)" '¦¹³BÀ³¤Ï¹L¨Ó¬d¸ß!!
.SpecialCells(xlCellTypeFormulas, xlNumbers) = "=sum(A1:a3)"
.SpecialCells(xlCellTypeFormulas, xlErrors) = "¤£²Å¦X"
End With
End Sub
³o¼Ë¤@¨Ó´N·|¦bAÄæ¬d¨ì¸ê®Æªº¦ì¸m¡A¹ïÀ³¨ìªºBÄæ¥X²{SUM¥[Á`¡AY¬d¤£¨ì¸ê®Æ«hÅã¥Ü"¤£²Å¦X"¡C¦A¦¸·PÁ¦U¦ìªº¨ó§U¡C |
|