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

[µo°Ý] ¨Ï¥ÎActiveX Button°õ¦æµ{¦¡½X¡ARange("A1").SelectµLªk¥¿±`°õ¦æ

[µo°Ý] ¨Ï¥ÎActiveX Button°õ¦æµ{¦¡½X¡ARange("A1").SelectµLªk¥¿±`°õ¦æ

¥»©«³Ì«á¥Ñ day741025 ©ó 2011-7-20 06:53 ½s¿è

¨Ï¥ÎActiveX Button°õ¦æµ{¦¡½X¡ARange("A1").SelectµLªk¥¿±`°õ¦æ¡Aµ{¦¡½X¦p¤U¡G

Private Sub CommandButton1_Click()
Sheets("²Ä¤G­Ó").Select      '--->³o¤@¬q¥i¥H¥¿±`°õ¦æ
Range("A1").Select      '--->³o¤@¬q·|µLªk¥¿±`°õ¦æ¡A¥B·|¥X²{¿ù»~°T®§¡A¦p¤U¹Ï©Ò¥Ü¡C
End Sub

½Ð°Ý³o¬O¬°¤°»ò¡HÁÂÁ¡I:(

error msg.jpg
¨Ï¥Îbutton°õ¦æselect°ÝÃD.zip (10.47 KB)

¦^´_ 1# day741025
CommandButton1_Click ¬O¤u§@ªí1ªºµ{§Ç Range("A1").Select  ¬O«ü¦b¤u§@ªí1ªº .Select
Sheets("²Ä¤G­Ó").Select «á§@¥Î¤¤ªº¤u§@ªí¬O ¤u§@ªí2 ©Ò¥H·|¿ù»~
   
  1. Private Sub CommandButton1_Click()
  2.     With Sheets("²Ä¤G­Ó")
  3.         .Select
  4.         .Range("A1").Select
  5.     End With
  6. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# GBKEE


¶â¡A¤w¸gÀ´¤F¡I
ÁÂÁÂGBKEEªO¥D²LÅã©öÀ´ªº¸ÑÄÀ^^

TOP

¥d¤F«Ü¤[ªº°ÝÃD²×©óÀò±o¤F¸Ñ¨M! ·PÁÂGBKEEª©¥D

TOP

¦^´_ 2# GBKEE


    ½Ð°ÝªO¤j¡A¦P¤W¨Ò¡A¦pªG¬O­n§ï­n¿ï¨ú sheets("°õ¦æ")ªºrange("a1")

    ¬O¤£¬O¥u³Ñ¦h¥[¦æ¡ySheets("°õ¦æ").Activate¡z
   
    ³o­Ó¤èªk¡H
  1. Private Sub CommandButton1_Click()
  2. Sheets("²Ä¤G­Ó").Select
  3. Sheets("°õ¦æ").Activate
  4. Sheets("°õ¦æ").Range("A1").Select
  5. End Sub
½Æ»s¥N½X

TOP

¦^´_ 5# gkld
  1. Option Explicit
  2. Private Sub CommandButton1_Click()
  3.     Sheets("²Ä¤G­Ó").Select   '¦³¦ó§@¥Î?
  4.     With Sheets("°õ¦æ")          '¤u§@ªí"°õ¦æ" (ª«¥ó)
  5.         .Activate
  6.         .Range("A1").Select
  7.     End With
  8. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

·Pı¦n¹³«Ü§xÃø...ÁÂÁÂGBKEEªO¥D

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦¨´N¤@¤Á¡j®É¶¡¥i¥H³y´N¤H®æ¡A¥i¥H¦¨´N¨Æ·~¡A¤]¥i¥HÀx¿n¥\¼w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD