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

[µo°Ý] ¦p¦ó¥HVBA³]©w¶}±ÒÀɮתº±K½X

[µo°Ý] ¦p¦ó¥HVBA³]©w¶}±ÒÀɮתº±K½X

¬°¤FÅý¤j®a¬Ý±oÀ´°ÝÃD,¥ý»¡©ú¤@¤U

¤p§Ì¨Ã¤£¬O­n³]©w«OÅ@¬¡­¶Ã¯ªºµ²ºc»Pµøµ¡

¦Ó¬O­n³]©w¶}±Ò¬¡­¶Ã¯( ¶}±ÒÀÉ®× ) ®Éªº±K½X!



¥Ø«e¶È·|³z¹LVBA¶}±Ò,¦³³]©w¬¡­¶Ã¯¶}±Ò±K½Xªº¤å¥ó

¦ýµLªk³z¹LVBA¦Û°Ê±N¥ô·NÀɮ׳]©w¶}±ÒÀɮתº±K½X,¦³¤j¤j¯à¸Ñµª¶Ü?
PKKO

¦^´_ 1# PKKO

¬O­n³]©w¡A§A¹Ï¤¤Åv­­ªº±K½X¡H¦pªG¬O«h¬O³]workbookÄÝ©Ê.Password´N¥i¥H¤F
¦p¤U½d¨Ò¡G
  1. Sub Ex()
  2. Dim Bk As Workbook
  3. Dim nFile As String
  4.     mPath = ThisWorkbook.Path & "\"
  5.     nFile = Dir(mPath)
  6.     Do While Len(nFile)
  7.         If nFile <> "¥Dµ{¦¡.xlsm" Then
  8.             Set Bk = Workbooks.Open(mPath & nFile)
  9.             Bk.Password = "12345"
  10.             Bk.Close True
  11.         End If
  12.         nFile = Dir
  13.     Loop
  14. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# lpk187


    ·PÁ¤j¤j,½T¹ê¥i¥H¨Ï¥Î,¤@ª½³£§ä¤£¨ì³o­Ó¤WÂꪺ¤è¦¡,­ì¨Ó¥u­nWORKBOOKS(XX).Password = "12345" ´N¥i¥H¤F,·PÁ®@!
PKKO

TOP

        ÀR«ä¦Û¦b : §Ñ¥\¤£§Ñ¹L¡A§Ñ«è¤£§Ñ®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD