- ©«¤l
- 62
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 109
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 10®a¥Îª©
- ³nÅ骩¥»
- Office 2013
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- ¨Ó¦Û
- ·s¥_
- µù¥U®É¶¡
- 2016-1-27
- ³Ì«áµn¿ý
- 2024-8-12
|
¦^´_ 2# jackyq
¦b¤u§@ªí¤¤¡G
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
Mail_Range
End Sub
¦bModule1¤¤¡G- Sub Mail_Range()
- Dim Source As Range
-
- Set Source = Nothing
- On Error Resume Next
-
- '·s¼Wµ{¦¡½X¶}©l¡A§@¥Î¤¤Àx¦s®æ°±¦bþÓ³¡ªù§O¡A´N³]©w¬°Source
-
- If ActiveCell = Cells(3, 2) Then
- Set Source = Range("A1:J26").SpecialCells(xlCellTypeVisible)
- ElseIf ActiveCell = Cells(3, 13) Then
- Set Source = Range("L1:U26").SpecialCells(xlCellTypeVisible)
- ElseIf ActiveCell = Cells(30, 2) Then
- Set Source = Range("A28:J52").SpecialCells(xlCellTypeVisible)
- ElseIf ActiveCell = Cells(30, 13) Then
- Set Source = Range("L28:U52").SpecialCells(xlCellTypeVisible)
- Else
- End If
-
-
- On Error GoTo 0
-
- Source.Copy
-
- '±N¦¹½d³ò½Æ»s¨ì«ü©wªº½d³ò©Î½Æ»s¨ì°Å¶K襤
- End Sub
½Æ»s¥N½X ¦ý¬Oµøµ¡¨ì·s¶l¥ó®É¡A«ö·Æ¹«¥kÁä->¶K¤W¡A
¨S¦³¸ê®ÆC¡A
¬O¤£¬OModule1µ{¦¡½Xþ¸Ì¦³»~¡H
¦Ó¾ÉP¨S¦³½Æ»s¨ì°Å¶K襤©O¡H
ÁÂÁÂ |
|