- ©«¤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
|
¦^´_ 11# winston219
End ÄÝ©Ê ®M¥Î¦Ü½d¨Ò¯S©w¶Ç¦^ Range ª«¥ó¡A¸Óª«¥ó¥Nªí¥]§t¨Ó·½½d³ò¤§°Ï°ìµ²§À³BªºÀx¦s®æ¡Cµ¥©ó«ö END+¦V¤WÁä¡BEND+¦V¤UÁä¡BEND+¦V¥ªÁä©Î END+¦V¥kÁä ¥i°Ñ¾\ http://forum.twbts.com/thread-2055-1-1.html 4¼Ó- Sub yy()
- [a:a].HorizontalAlignment = xlCenter
- Range("a2:a" & [b2].End(xlDown).Row) = "=row()-1"
- 'Range("a2:a" & [b2].End(4).Row) = "=row()-1"
- [a:a] = [a:a].Value
- End Sub
- Sub EX()
- With Range("B2", [b2].End(xlDown)).Offset(, -1)
- ' Range("B2", [b2].End(xlDown))-> ±qB2©¹¤U¨ì³Ì«á¦³¸ê®Æªº½d³ò,Offset(, -1)->¦V¥ª¦ì²¾¤@Ä檺½d³ò,
- .HorizontalAlignment = xlCenter
- .Cells = "=row()-1"
- .Value = .Value
- End With
- End Sub
½Æ»s¥N½X |
|