- ©«¤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
|
¦^´_ 57# starry1314 - Option Explicit
- '¼Ò²Õ³»ºÝªº Dim ¬°³o¼Ò²Õ¤¤µ{¦¡¥i¥ÎªºÅܼÆ
- Dim WbSh(1 To 3) As Worksheet '«Å§iÅܼƫ¬ºA «ü©w¬°¤u§@ªí
- Sub Main()
- Set WbSh(1) = ThisWorkbook.Sheets("¼Æ¾Ú")
- 'ThisWorkbook.Sheets("¥XÀ\³æ")¦p§ï¬° "¥XÀ\³æA"
- Set WbSh(2) = ThisWorkbook.Sheets("¥XÀ\³æ") '¦b¦¹§ï¬° "¥XÀ\³æA"¤F´N¥i¥H¤F
- Set WbSh(3) = ThisWorkbook.Sheets("§Ö³t¿é¤J")
- Call Ex
- End Sub
- Sub Ex()
- WbSh(1).Range("B22").Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
- With WbSh(3) '¤£¥² Select¨Ó Select¥h
- .Range("B2") = "=" & WbSh(2).Range("H1").Address(, , , 1)
- '¥Î¤½¦¡³sµ²
- .Range("C3") = "=" & WbSh(2).Range("C4").Address(, , , 1)
- .Range("D3") = "=" & WbSh(2).Range("V1").Address(, , , 1)
- .Range("B4") = "=" & WbSh(2).Range("X3").Address(, , , 1)
- .Range("B5") = "=" & WbSh(2).Range("E1").Address(, , , 1)
- End With
- End Sub
½Æ»s¥N½X |
|