- ©«¤l
- 37
- ¥DÃD
- 11
- ºëµØ
- 0
- ¿n¤À
- 87
- ÂI¦W
- 0
- §@·~¨t²Î
- window7
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-3-14
- ³Ì«áµn¿ý
- 2022-5-30
|
¦^´_ 2# Hsieh
·PÁ¶W¯Åª©¥DªºÀ°¦£...
ªGµM¬O»Ýn±½´y¨CÓcellªº®Ø½u¤~¦³¿ìªk§¹¥þ½Æ»s¡AÁöµM»Ýªá¦h¤@ÂI®É¶¡¦ý°ÝÃD¸Ñ¨M¤F¡AÆgÆgÆg°Õ.....
®M¥Î®Éµo²{¤@Ó¤p°ÝÃD¡A¦pªG±NweightÂ\¦b³Ì«á¤@¶µ(¦]¿ý»smacro®Éweight³£Â\¦b³Ì«á)·|¦h¥X¤£¥²nªº½u¦pªþ¹Ï,
¦ý¥un¤£nÂ\¦b³Ì«á¤@¶µ´N¨S°ÝÃD¡A¤£ª¾¬°¤°»ò?
¦pªG¶W¯Åª©¥D¦³®É¶¡ªº¸Ü¡A¦AÀ°¦£µªÂФ@¤U¡A¦A¦¸·PÁÂÅo~~~
Sub nn()
Dim Rng As Range, Rng1 As Range
Set Rng = Range("C4:D5") '¨Ó·½½d³ò
Set Rng1 = Range("A1:B2") '§ïÅܽd³ò
Rng1.ClearFormats
For i = 1 To Rng.Rows.Count
For j = 1 To Rng.Columns.Count
For k = 1 To Rng.Borders.Count
'Rng1(i, j).Borders(k).Weight = Rng(i, j).Borders(k).Weight
Rng1(i, j).Borders(k).ColorIndex = Rng(i, j).Borders(k).ColorIndex
Rng1(i, j).Borders(k).LineStyle = Rng(i, j).Borders(k).LineStyle
Rng1(i, j).Borders(k).Weight = Rng(i, j).Borders(k).Weight
Next
Next
Next
End Sub
|
|