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

[µo°Ý] ¦p¦ó¥[±K®ÉÁôÂÃ?(ÁÂÁ¨â¦ì¤j¤j©âªÅÀ°¦£~§¹¦¨)

[µo°Ý] ¦p¦ó¥[±K®ÉÁôÂÃ?(ÁÂÁ¨â¦ì¤j¤j©âªÅÀ°¦£~§¹¦¨)

¥»©«³Ì«á¥Ñ av8d ©ó 2012-6-17 15:39 ½s¿è

¥Ø«e§Úªº¤u§@ªí¤W¦³
TextBox1
CommandButton1
CommandButton2
CommandButton3
CommandButton4

CommandButton1~3 ­è¶}©l¬OÁôÂêº
CommandButton4«h¬OTextBox1¿é¤J±K½X«á«ö¤Uªº«ö¶s
·íTextBox1¤ºªº±K½X¿é¤J¥¿½T®É¡AÅã¥ÜCommandButton1~3
·íTextBox1¤ºªº±K½X¿é¤J¥¿½T®É¡AÁôÂÃCommandButton1~3

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-6-16 22:14 ½s¿è

¦^´_ 1# av8d
  1. Private Sub CommandButton4_Click()
  2. If TextBox1 <> "12345" Then
  3. For i = 1 To 3
  4.    OLEObjects("CommandButton" & i).Visible = False
  5. Next
  6. Else
  7. Me.OLEObjects.Visible = True
  8. End If
  9. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ av8d ©ó 2012-6-17 14:24 ½s¿è

¦^´_ 2# Hsieh


¬O¦]¬°³o­Ó­ì¦]¶Ü?
Private Sub Workbook_Open()
    Sheets("Index").Select
    ActiveSheet.OLEObjects("Textbox1").Activate
End Sub
©Î¬O¦]¬°³o­Ó­ì¦]
  For Each Sh In Sheets
     If Sh.Name <> "Index" Then Sh.Visible = False Else Sh.Visible = True
  Next


¥Ñ©ó³£·|¥X²{¿ù»~°T®§"¦¹³B»Ý­nª«¥ó"
§R°£¥H¤W¨â­Ó­ì¦]§Y¥i~¥i¬O¥H¤W¨â­Ó­ì¦]¬O¥²¶·ªº!

TOP

¦^´_ 3# av8d
©JÀɤ~¬Ý²M·¡°ÝÃD­þ

TOP

¥»©«³Ì«á¥Ñ av8d ©ó 2012-6-17 15:38 ½s¿è

¦^´_ 4# GBKEE


    ¦A¦¸·PÁÂG¤j¦£¸Ì©âªÅÀ°¦£~¤w¸g§¹¦¨

TOP

¦^´_ 5# av8d
2003ª©¤¤¥i¥¿±`°õ¦æ°Ú

TOP

¥»©«³Ì«á¥Ñ av8d ©ó 2012-6-17 15:35 ½s¿è

¦^´_ 6# GBKEE


§ä¨ì°ÝÃDÂI¤F~

    For i = 1 To 3
        ActiveSheet.OLEObjects("CommandButton" & i).Visible = False
    Next

¦p¦ó±N¥H¤W§PÂ_CommandButton1~3¥Ø«eªºª¬ºA
¦]¬°¦pªGª¬ºA¥»¨­ÁôÂÃ~¦A½Ð¥LÁôÂä@¦¸~«h·|¥X²{¿ù»~!

TOP

¦^´_ 7# av8d
¦]¬°¦pªGª¬ºA¥»¨­ÁôÂÃ~¦A½Ð¥LÁôÂä@¦¸~«h·|¥X²{¿ù»~!
ÅÞ¿è¤W ¤£¤Ó¹ï®@ , ¥i½Ð2003ª©¥H¤WªÌ¸Ñ´b.

TOP

        ÀR«ä¦Û¦b : ¤Ñ¤W³Ì¬ü¬O¬P¬P¡A¤H¥Í³Ì¬ü¬O·Å±¡¡C
ªð¦^¦Cªí ¤W¤@¥DÃD