- ©«¤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
|
¦^´_ 4# cji3cj6xu6
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim DQ
- DQ = 5
- Sheet3.Hyperlinks.Add Selection, Address:="", SubAddress:=Range("a" & DQ).Value & "!A1675" ' ³]©w¶W³sµ²¦ì§}
- 'Selection ÄÝ©Ê" ¦pªG¬O Application ª«¥ó¡A«h¶Ç¦^²{¥Îµøµ¡¤¤ªº¿ï©wª«¥ó¡A¦pªG¬O Windows ª«¥ó¡A«h¶Ç¦^«ü©wµøµ¡¡C
- '©Ò¥H¤W¦¡°õ¦æ«á·|¬OActiveSheet(§@¥Î¤¤ªº¤u§@ªí)ªº§@¥Î¤¤ªºÀx¦s®æ:·s¼W¤@¶W³sµ² (¤£¬O¦bSheet3)
- 'SubAddress:=Range("a" & DQ).Value (µ{¦¡½X¬O¦b¤u§@ªí¼Ò²Õ:¬O³o¤u§@ªíª«¥óªº Range("a" & DQ)
- '(µ{¦¡½X¬O¦b¤@¯ë¼Ò²Õ:¬OActiveSheet(§@¥Î¤¤ªº¤u§@ªí)ªº Range("a" & DQ)
- '*************************×¥¿¦p¤U *****************************************************************
- With Sheet3 '¦b .Range("a10") ·s¼W¤@¶W³sµ²
- .Hyperlinks.Add .Range("a10"), Address:="", SubAddress:=ActiveSheet.Range("a1").Value & "!A1675"
- ' ³]©w¶W³sµ²¦ì§}:³sµ²¨ì§@¥Î¤¤¤u§@ªí.Range("a1").Valueªº¤u§@ªí¦WºÙ
- '©Î¬O«ü©w¤u§@ªí SubAddress:=SHEETS("SHEET2").Range("a1").Value
- End With
- '¦P¤W Sheet3.Hyperlinks.Add Sheet3.Range("a10"), Address:="", SubAddress:=ActiveSheet.Range("a1").Value & "!A1675"
- End Sub
½Æ»s¥N½X |
|