½Æ»s½d³ò¥i³s¦PÄæ¼e©Î¦C°ª½Æ»s¶Ü?
- ©«¤l
- 176
- ¥DÃD
- 98
- ºëµØ
- 0
- ¿n¤À
- 279
- ÂI¦W
- 0
- §@·~¨t²Î
- window 7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-17
- ³Ì«áµn¿ý
- 2020-4-8
|
½Æ»s½d³ò¥i³s¦PÄæ¼e©Î¦C°ª½Æ»s¶Ü?
½Ð°Ý¦bCopy Range ®É, ¥i¥H³s¦PÄæ¼e©Î¦C°ª½Æ»s¶Ü?
½Ð«ü±Ð |
|
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
½Ð°Ý¦bCopy Range ®É, ¥i¥H³s¦PÄæ¼e©Î¦C°ª½Æ»s¶Ü?
½Ð«ü±Ð
enoch µoªí©ó 2016-4-24 19:08
¥i¥H¾aµ{¦¡¨Ó¹F¦¨ :- Sub nn()
- Dim lJ&, lSrc&, lTrc&, lrcs&
- Dim rSou As Range, rTar As Range
-
- Set rSou = [A2:E13]' ¨Ó·½
- Set rTar = [G16] ' ¥Øªº
-
- rSou.Copy rTar ' «þ¨©
-
- '===== ³vÄæ½Æ»sÄæ¼e===
- lSrc = rSou(1).Column
- lTrc = rTar(1).Column
- lrcs = rSou.Columns.Count - 1
- For lJ = 0 To lrcs
- Columns(lTrc + lJ).ColumnWidth = Columns(lSrc + lJ).ColumnWidth
- Next
-
- '===== ³v¦C½Æ»s¦C°ª===
- lSrc = rSou(1).Row
- lTrc = rTar(1).Row
- lrcs = rSou.Rows.Count - 1
- For lJ = 0 To lrcs
- Rows(lTrc + lJ).RowHeight = Rows(lSrc + lJ).RowHeight
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 759
- ¥DÃD
- 249
- ºëµØ
- 0
- ¿n¤À
- 1021
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-28
|
¥i¥H¾aµ{¦¡¨Ó¹F¦¨ :
luhpro µoªí©ó 2016-4-27 22:42
¥Ø¦aªº ¦b¤£¦Pªº¤u§@ªí¦n¹³µL®Ä??? |
|
|
|
|
|
|
- ©«¤l
- 2025
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 2053
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office2007
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2011-3-2
- ³Ì«áµn¿ý
- 2024-3-14
|
Äæ¼e¤Î®æ¦¡½Æ»s¥i¥H¨Ï¥Î "¿ï¾Ü©Ê¶K¤W"¡A¤Ä¿ïÄæ¼e¤Î®æ¦¡
¥i¥H¿ý»s¥¨¶°¦p¤U
Sub ½Æ»s§tÄæ¼e¤Î®æ¦¡()
Dim rSou As Range, rTar As Range
Set rSou = Sheets("Sheet8").Range("A1:D17")
Set rTar = Sheets("sheet2").Range("G6")
rSou.Copy rTar
With rTar
rSou.Copy
.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End With
End Sub |
|
{...} ªí¥Ü»Ýn¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡
|
|
|
|
|