EXCEL VBA ·í·Æ¹«¿ï¨úÀx¦s®æ ÅܼưÝÃD(¤w¸Ñ¨M)
- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2011-11-11
- ³Ì«áµn¿ý
- 2011-11-11
|
EXCEL VBA ·í·Æ¹«¿ï¨úÀx¦s®æ ÅܼưÝÃD(¤w¸Ñ¨M)
¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-11-11 18:37 ½s¿è
·Q½Ð°Ý¤@¤U¦U¦ì°ª¤â °²¦p§Ú°µ¤F¤@Áû«ö¶s §Ú§Æ±æ«ö¤U¥h«á ¥L·|§â§Ú·í«e·Æ¹«¿ï¨úªº½Æ¼ÆÀx¦s®æ°µ ¸óÄæ¸m¤¤ ªº°Ê§@ µM«á§â¥LªºÄæ¦ì+1 ¤]°µ¸óÄæ¸m¤¤ªº°Ê§@ §Ú¸Ó«ç»ò¼g?
EX: ·Æ¹«¥Ø«e¿ï¨ú¨ì A1:A3 «ö¶s«ö¤U¥h¥L·|§â ³oÓ½d³òÀx¦s®æ°µ¸óÄæ¸m¤¤ µM«á¦A§â B1:B3 ¤]°µ¸óÄæ¸m¤¤
§Ú¤@ª½¨S¦³¿ìªk§ì¨ì·Æ¹«¿ï¨úªº½d³ò·í§@ÅÜ¼Æ ½Ð¦U¦ì°ª¤â±Ï±Ï§Ú ÁÂÁ |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
With Union(Selection, Selection.Offset(1))
.Value = 123
.HorizontalAlignment = 7
End With |
|
|
|
|
|
|
- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2011-11-11
- ³Ì«áµn¿ý
- 2011-11-11
|
¥»©«³Ì«á¥Ñ billkater000 ©ó 2011-11-11 17:10 ½s¿è
©êºp ¥i¥H»¡ªº¸Ô²Ó¤@ÂI¶Ü §Úµ{«×¨S¦³«Ü¦n ·PÁ°ª¤â |
|
|
|
|
|
|
- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2011-11-11
- ³Ì«áµn¿ý
- 2011-11-11
|
³oÓµ{¦¡¬Ý§¹«á §ÚÁÙ¦³¨âÓ°ÝÃDn½Ð±Ð¤@¤U
1. ¦o·|¦h¼g¤J¤@¦æ ¬O¬°Ô£»ò (¿ï¨ú3¦C ¥L·|¼g¤J¥|¦Cªº¸ê®Æ)
2. ¥Ln«ç»òÄæ¼Æ+1 ¦AÄ~Äò°µ¤@¦¸°Ê§@? |
|
|
|
|
|
|
- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2011-11-11
- ³Ì«áµn¿ý
- 2011-11-11
|
°ª¤â ÁÂÁ§A §Ú§ËÀ´¤F ·PÁ±zªº±Ð¾É
With Union(Selection, Selection.Offset(0, 0))
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Selection.Merge
With Union(Selection, Selection.Offset(0, 1))
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Selection.Merge
ì¨Ó«ÂIn§Q¥Î OFFSETÄÝ©Ê §Ú¤@ª½¦b·QSELECT¨º¶ô ·P®¦ |
|
|
|
|
|
|