- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-3-19 17:57 ½s¿è
¦^´_ 8# Genie
½Ð¬d¬ÝVBA»¡©ú End ÄÝ©Ê ¶Ç¦^ Rangeª«¥ó¡A¸Óª«¥ó¥Nªí¥]§t¨Ó·½½d³ò¤§°Ï°ìµ²§À³BªºÀx¦s®æ¡Cµ¥©ó«ö END+¦V¤WÁä¡BEND+¦V¤UÁä¡BEND+¦V¥ªÁä©Î END+¦V¥kÁä¡C°ßŪ Range ª«¥ó¡C
¬°¤°»ò¡@"For Each R In .Range("b3:b" & .[b3].End(xlDown).Row)"¡@n B3:B ©O¡H
.[b3].End(xlDown).Row :¶Ç¦^¥Ñ [b3]©¹¤U¨ì³Ì«á¤@Ó¸ê®Æªº¦C¸¹ ->§AªºÀɮ׶Ǧ^ 7
Range("³o¬O¦r¦ê")-> "b3:b" & 7-> "b3:b7"
§A§ï¬°.Range("b3:b7" & .[b3].End(xlDown).Row) ->"b3:b7" & 7-> "b3:b77" : ÂX¤j¤F½d³ò
BÄ椤B12="A-1",B33="B-1",B53="B-2" ªºDÄæ³£¬OªÅ¥Õ
**D(R.Value) = R.Offset(, 2).Value ¨Ï±oD(KEY)=ªÅ¥Õ |
|