ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¦p¦ó°µ¦¨¥Ø¿ý?

¦p¦ó°µ¦¨¥Ø¿ý?

§Ú¦³¤@­ÓÀÉ®×,¨ä¤¤¦³100±isheet,§Ú·Q¼W¥[¤@±i·í¥Ø¿ý,ª½±µÂI¿ï¥Ø¿ý¨ì«ü©wªºsheet,½Ð°Ý¸Ó«ç»ò¿ì?ÁÂÁÂ!

¥»©«³Ì«á¥Ñ play9091 ©ó 2011-7-29 18:54 ½s¿è

¸Õ¸Õ¬Ý¡A¤U­±³o­Ó¥i¤£¥i¥H¶]¡I¡I¡I
  1. Sub ¥¨¶°1()
  2. '
  3. ' ¥¨¶°1 ¥¨¶°
  4. '¥OI=1
  5. I = 1
  6. '°j°é¡A±q1¨ìsheet N
  7. For N = 1 To Sheets.Count
  8. '¦pªGI=1ªº¸Ü¡A¥[¤Jsheet¥s¡u²M³æ¡v
  9.     If I = 1 Then
  10.     Sheets.Add.Name = "²M³æ"
  11.     End If
  12. '¨ú±osheetªº¦W¦r
  13.     SN = Sheets(N + 1).Name
  14. '±N¨ú±oªº¦W¦r¡A¼g¤Jcell
  15.     Cells(I, 1) = SN
  16. '¥[¤W¶W³sµ²
  17.     ActiveSheet.Hyperlinks.Add Anchor:=Cells(I, 1), Address:="", SubAddress:= _
  18.         SN & "!A1", TextToDisplay:=SN
  19. '§âI+1
  20.     I = I + 1
  21. Next
  22. End Sub
½Æ»s¥N½X
ªì¾ÇVBA¥E¨ìtwbts

TOP

¦^´_ 1# gigi0117
¸Õ¸Õ¬Ý
  1. Sub Ex()
  2.     Dim i As Integer
  3.     With Sheets.Add(Sheets(1))
  4.         .Name = "¥Ø¿ý"
  5.         For i = 2 To Sheets.Count
  6.           .Hyperlinks.Add Anchor:=.Cells(i - 1, 1), TextToDisplay:=Sheets(i).Name, SubAddress:=Sheets(i).[A1].Address(0, 0, 1, 1, 1), Address:=""
  7.         Next
  8.     End With
  9. End Sub
½Æ»s¥N½X

TOP

ÁÙ¬O¤£¦æ£°~ÁÙ¬O¦³½d¥»¥i¥H°Ñ¦Ò,ÁÂÁÂ!!

TOP

¦^´_ 4# gigi0117
«ç¼Ë¤£¦æ°Ú, ¨º¤£¬O½d¦C¬O¤°»ò?

TOP

¥i¥H¤F~!!!­ì¨Ó¬O§Ñ¤F«ö°õ¦æ~ÁÂÁª©¥D!!

TOP

¦psheet("¥Ø¿ý") ¤v¦s¦b, ¦p¦ó¥iÁקK°õ¦æ¥X¿ù
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD