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

¨î§@¨p¤HÀÉ®×

¨î§@¨p¤HÀÉ®×

½Ð°Ý¦p¦ó¨î§@¤@­ÓExcelÀÉ®×,¥ý¿é¤JUSER¦WºÙ¦A¿é¤J±K½X¤~¥i¶i¤JÀɮפu§@.

¦^´_ 1# mmggmm
ThisWorkbook ª«¥ó¼Ò²Õ ªºµ{§Ç
  1. Option Explicit
  2. Const UserPass = "1234"
  3. Private Sub Workbook_Open()
  4.     Dim Pass As String
  5.     Pass = InputBox("", "±K½X¿é¤J")     '±K½X¿é¤J
  6.     If Pass <> UserPass Then
  7.         MsgBox "±K½X¿ù»~  ÀÉ®×Ãö³¬ ", vbCritical, "±K½X¿é¤J"
  8.         ThisWorkbook.Close 0  'ÀÉ®×Ãö³¬ ¤£¦sÀÉ
  9.     End If
  10. End Sub
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ ¦Ñ®L ©ó 2010-9-11 21:24 ½s¿è

Windows°ò¥»¥\¯à,¥i¥H³]©w±K½X
¤£¯à¨Ï¥Î¶Ü?

TOP

©ú¥Õ¤F,¦hÁÂ

TOP

¦p¥u¬O­n¶}±ÒÀɮפ§«e¶·¿é¤J±K½X
¤@¯ë«OÅ@¥\¯à§Y¥i¡I

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD