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

[µo°Ý] ½Ð°Ý¦p¦ó¦bexcel¤¤³]©w±b¸¹±K½X??(¥H¸Ñ¨M)

[µo°Ý] ½Ð°Ý¦p¦ó¦bexcel¤¤³]©w±b¸¹±K½X??(¥H¸Ñ¨M)

¥»©«³Ì«á¥Ñ ´Ñ»y³¾»ï ©ó 2011-7-11 21:25 ½s¿è

½Ð°Ý:¦pªG§Ú·Q¥HSheet1¤§B¡BCÄ欰±b¸¹±K½Xªº±ø¥ó¡A¤@¶}±ÒEXCELÀɮɡA«h¥X²{¿é¤J±b¸¹±K½X¡A¥u¦³¦bSheet1¤§B¡BCÄæÅã¥Üªº20²Õ±b¸¹±K½X¤~¯à¶}±Ò¦¹ÀɮסA½Ð°Ý¦¹¥¨¶°­n¦p¦ó³]©w??
±b±K³]©w.rar (7.36 KB)


¥Ñ°J·PÁÂ"GBKEE"ª©¥D¡A¬°¥»©«¤l²Ó¤ßªº¦^µª¡A¥»©«¥H´ú¸ÕµL»~~

½Ð°Ý¤j¤j, ¦pªG­n¦P®É³]¦h²Õ±b¸¹±K½X¤ÎÅv­­¸Ó«ç»ò°µ?ÁÂÁÂ!
¦b¯« ªº·R¸Ì¨S¦³Äß©È

TOP

¦^´_ 14# boyao
ThisWorkbook.Åv­­ = ±K½X°Ï(R(2).Row, 1) ¥i¥H¶Ç¦^ ¶i¤J¬¡­¶Ã¯¬O ºÞ²zªÌ ©Î¬O ¨Ï¥ÎªÌ ¦p¦¹¥i¥[¥H­­¨î¨Ï¥Î½d³ò.
¦p¦P§A²{¦b¬O¤p¾Ç¥Í 6# ªºÀɮקA©|µLÅv­­¥i¤U¸ü¤@¯ë

TOP

¦^´_ 8# GBKEE


½Ð°Ý...¤U­±³o¬q
ThisWorkbook.Åv­­ = ±K½X°Ï(R(2).Row, 1)
"Åv­­"¬O«ç»ò³]©w£x£«

¦³¤H¥i¥H¸ò§Ú»¡¶Ü? ·PÁÂ!!
boyao

TOP

­è¦n³Ìªñ»Ý­nÃþ¦ü¥\¯à, §ä¨ì³oÃä
¯u¬O¤j·PÁÂ~

TOP

¦^´_ 10# freeffly
             ¤u§@ªíªº­È    °Ñ¼Æ                        °Ñ¼Æ (¼Æ­È)
Sheet1.Visible = xlSheetHidden                0     :        ´¶³qÁôÂà   ¤u§@ªí «ü¥O: ®æ¦¡->¤u§@ªí -> ¥i¥H ¨ú®øÁôÂÃ
Sheet1.Visible = xlSheetVisible                -1    :        ¤u§@ªíÅã²{
Sheet1.Visible = xlSheetVeryHidden       2     :         ²`«×ÁôÂà     ¤u§@ªí «ü¥O ->   ¤£¥i¥H ¨ú®øÁôÂ࠶ȥi¥ÎVBA ¨ú®ø

Sheet1.Visible =  False                                0     :          ´¶³qÁôÂà   ¤u§@ªí «ü¥O: ®æ¦¡->¤u§@ªí -> ¥i¥H ¨ú®øÁôÂÃ
Sheet1.Visible = True                                 -1    :          ¤u§@ªíÅã²{
Sheet1.Visible = 2                                        2    :           ²`«×ÁôÂà     ¤u§@ªí «ü¥O ->   ¤£¥i¥H ¨ú®øÁôÂ࠶ȥi¥ÎVBA ¨ú®ø

Sheets(1).Visible =  0
Sheets(1).Visible =  -1     
Sheets(1).Visible =  2

TOP

³o­Ó¬O§Ú¤§«e§¹¦¨ªºÀÉ®×
°£¿é¤J±b±K¤~¯à¶i¤J¥~~
ÁÙÃB¥~´£¨Ñ¨Ì¨Ï¥ÎªÌªºÅv­­~ ¥i¬Ý¨ì¤£¦Pªº¬¡­¶~
´£¨Ñµ¹§A°Ñ¦Ò~
http://forum.twbts.com/viewthread.php?tid=2543&highlight=
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 4# GBKEE


    ¨º¦Uxlsheetveryhidden¯u¬O¼F®`ªº¤è¦¡
   ±q¤@¯ëexcel¤¶­±¬Ý¤£¥X¨Ó¦³³QÁôÂ꺤u§@ªí
   ¤£¹L§Ú­ì¥»¨Ï¥ÎÁôÂøòÅã²{ªº¤è¦¡¬O¥Îfalse ¸ò true
    ®ÄªG¤@¼Ë¤£ª¾¹D¦³¨S¦³®t§O
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

§Ú­Ì¦³¥i¯à¥Îpasswore:=a1
¦Óa1¥Îb1©Îc1ªºÀx¦s®æªº­È³£¥i¥H¸Ñ±K½X¶Ü
jeason

TOP

¦^´_ 7# ´Ñ»y³¾»ï
¬O©Ç©Çªº,­×¥¿±K½Xªí³æ¦p¤U.
  1. Option Explicit
  2. Dim P As Integer, ±K½X°Ï As Range
  3. Private Sub UserForm_Initialize()
  4.     Set ±K½X°Ï = Sheet1.Range("A2", Sheet1.[C2].End(xlDown))
  5.     TextBox2.PasswordChar = "*"   '(¶È­^¤å¿é¤J¼Ò¦¡)  ¤J±K½X®ÉÅý±K½X¥H"*"¸¹Åã¥Ü
  6. End Sub
  7. Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
  8.     If CloseMode = 0 Then Cancel = 1                  '°±¤î¥Îªí³æ( X ) Ãö³¬ªí³æ
  9. End Sub
  10. Private Sub CommandButton1_Click()
  11.     Dim R(2 To 3) As Range
  12.     Dim WshShell As Object, BtnCode As Integer
  13.     Set WshShell = CreateObject("WScript.Shell")
  14.     Set R(2) = ±K½X°Ï.Columns(2).Find(TextBox1.Text, LookAt:=xlWhole, MatchCase:=True) '´M§ä±b¸¹
  15.     Set R(3) = ±K½X°Ï.Columns(3).Find(TextBox2, LookAt:=xlWhole, MatchCase:=True)      '´M§ä±K½X
  16.     If Not R(2) Is Nothing And Not R(3) Is Nothing Then   '§ä¨ì±b¸¹»P±K½X
  17.         If R(2).Row = R(3).Row Then '±b¸¹»P±K½X¦P¤@¦C
  18.             BtnCode = WshShell.popup("µn¤JªÌ :" & ±K½X°Ï(R(2).Row, 1), 3, "µn¤J°T®§")
  19.             ThisWorkbook.Åv­­ = ±K½X°Ï(R(2).Row, 1)
  20.             Unload Me
  21.         End If
  22.     End If
  23.     P = P + 1
  24.     If P > 2 Then
  25.         CommandButton1.Caption = "µn¤J¥¢±Ñ¤F"
  26.         Unload Me
  27.         BtnCode = WshShell.popup("ÀÉ®×»ÝÃö³¬" & Chr(10) & Chr(10) & "µn¤J:±b¸¹,±K½X.. ¿ù»~", 3, "µn¤J¥¢±Ñ")
  28.             'ThisWorkbook.Close False    '***  ´ú¸Õ´Á¶¡¼È¥B¤£  Ãö³¬ÀÉ®× **
  29.     Else
  30.         CommandButton1.Caption = "µn¤J¦¸¼Æ ³Ñ " & 3 - P & " ¦¸"
  31.     End If
  32. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¨C¤ÑµL©Ò¨Æ¨Æ¡A¬O¤H¥Íªº®ø¶OªÌ¡A¿n·¥¡B¦³¥Î¤~¬O¤H¥Íªº³Ð³yªÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD