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

[µo°Ý] §Ö³t¤Á´«¨ì¬YSheet­¶­±

¥»©«³Ì«á¥Ñ owen06 ©ó 2015-3-3 12:56 ½s¿è

¦^´_ 1# chi830


¦bvba¸Ì´¡¤J·s¼Ò²Õ¡A¶K¤W¤U¦C¤º®e
  1. Sub test()
  2. Dim MyBook As Workbook, sh As Worksheet
  3. Set MyBook = ThisWorkbook
  4. Ans = Application.InputBox("½Ð¿é¤J¤u§@ªí¦WºÙ", "§Ö³t¤Á´«", "")
  5. For Each sh In MyBook.Sheets
  6.    If sh.Name Like "*" & Ans & "*" Then sh.Select
  7. Next
  8. End Sub
½Æ»s¥N½X
µM«á¦A¶i¥h¡y¥¨¶°¡z¸Ìªº¡y¿ï¶µ¡z¡A§â¸Ó¥¨¶°³]©w§A¦Û¤v·Q­nªº§Ö³tÁä¡A³o¼Ë´N¥i¥H¹F¦¨§A·Q­nªº¤è¦¡¤F¡C

TOP

¦^´_ 1# chi830


    ¥i¥H°µ¤@­Ó­º­¶¡AµM«á¥Î¶W³sµ²ªº¤è¦¡¥h°µ¡A¦A¦b¨C­Ó­¶­±¤]°µ¤@­Ó¥i³s¦^­º­¶ªº¶W³sµ²

TOP

        ÀR«ä¦Û¦b : ¯àµ½¥Î®É¶¡ªº¤H¡A¥²¯à´x´¤¦Û¤v§V¤Oªº¤è¦V¡C
ªð¦^¦Cªí ¤W¤@¥DÃD