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

[µo°Ý] ¦h±i¤u§@ªí¥t¦s¬¡­¶Ã¯¤Î§ì¦í¹w³]±K½X

pay.zip (12.49 KB) ¦^´_ 19# missbb
¤w¤W¶Ç, ³Â·Ð¬d¬Ý.

TOP

¦^´_ 18# c_c_lai
±z¦n, §Ú¤W¶Ç¤F, ¦ý¶K¦b²Ä3­¶¤º, ¦³³Ò¬d¬Ý.

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2014-1-1 09:10 ½s¿è

¦^´_ 22# missbb
§Aªº°ÝÃDµo¥Í©ó "B5" Äæ¦ì¤W
  1. =MID(CELL("filename",A1),FIND("]",CELL("filename",A1),1)+1,31)
½Æ»s¥N½X
§Ú¤£¤ÓÁA¸Ñ©p ¤½¦¡ ªº§t·N (¤£¦n·N«ä)¡C
¦pªG©p±N B5 Äæ¦ìª½±µ¥´¤J A123¡BA124¡BB456 µM«á¦A­«·s°õ¦æ¤@¹M¡A
´N¤£·|¦³©p©Ò¿×ªº§xÂZ°ÝÃD¡A¦]¬°©Ò¦³¦³¼Æ­ÈÄæ¦ìªº¤º®e¤½¦¡§¡»P B5 Ä榳Ãö¤§¬G¡C

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-1-1 10:15 ½s¿è

¦^´_ 22# missbb
  1. Option Explicit
  2. Sub Ex2()            '  Hsieh & GBKEE
  3.     Dim f$, fd$, fs$, A As Range, Wb As Workbook, AR()
  4.     Set Wb = ThisWorkbook             '  ¬¡­¶Ã¯ :µ{¦¡½X©Ò¦bªº
  5.     fd = Wb.Path & "\"                       '  ¦sÀɪº¸ô®|
  6.     Application.DisplayAlerts = False
  7.     Application.ScreenUpdating = False
  8.     With Wb.Sheets("PASSWORD")
  9.         For Each A In .Range(.[A2], .[A2].End(xlDown))
  10.             f = CStr(A)
  11.             fs = fd & f & ".xls"
  12.             AR = Wb.Sheets(f).UsedRange.Value
  13.             With Workbooks.Add(1)
  14.                 .ActiveSheet.Range("A1").Resize(UBound(AR, 1), UBound(AR, 2)) = AR
  15.                 '  FileFormat:=xlExcel8   Excel 2003ª©¥» 56; xlExcel12  version 12, or 14, or 15 = Excel 2007, or 2010, or 2013.
  16.                
  17.                 .SaveAs Filename:=fs, Password:=CStr(A.Offset(, 1)), WriteResPassword:="" , FileFormat:=xlExcel8
  18.                 .Close 0       '  Ãö³¬ "D:\A123.xls" ¬¡­¶Ã¯¡B"D:\B456.xls" ¬¡­¶Ã¯¡C
  19.             End With           '  ¥¿¦¡µ²§ô (Ãö³¬)¡C
  20.         Next
  21.     End With
  22.     Application.DisplayAlerts = True
  23.     Application.ScreenUpdating = True
  24. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 23# c_c_lai

¬O³o¼Ëªº.
§Ú­º¥ý¦bPASSWORD SHEET¤º¥´¤J©Ò¦³¸ê®Æ -> ¦A¬°¨C¤@­Ó­û¤u½s¸¹¶}SHEET, ¦b¨C±iSHEET¤ºB5 ¤º¥Hµ{¦¡±oSHEET ¦WºÙ->¦A¥ÎVLOOKUP ¾ÌSHEET¦WºÙ¨úPASSWORD SHEET ¤º¸ê®Æ->¦A°õ¦æVBA¥H¨C¤@­ÓSHEET¥t¦s·sÀÉ.

TOP

¦^´_ 24# GBKEE

±z¦n, ¤w¸ÕÅç¬O¥i¦æªº.  ¦ý¶}±Ò¥t¦s¤§A124ÀÉ®É, ¥X²{:±z¥¿¦b¸Õ¶}±ÒA124.xls, ¨äÀɮ׮榡»P°ÆÀɦW©Ò«ü©wªº®æ¦¡¤£¦P, ¶}±Ò«e½Ð½T©wÀÉ®×¥¼·l·´, ¥B¨Ó¦Û«H¤ßªº¨Ó·½, ±z²{¦b¶}±Ò¶Ü?"

¥¼ª¾¦³¦ó¤£§´ªº¦a¤è, ½Ð½ç±Ð!

TOP

¦^´_ 26# missbb
2003´ú¸Õ »Ýµù¸ÑFileFormat:=xlExcel8
¤w§ó¥¿ ¨ú®øµù¸Ñ ' FileFormat:=xlExcel8
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 24# GBKEE
ÁÂÁ±zÀ°§Ú¸Ñ´b¡I
·s¦~§Ö¼Ö¡A¨­Åé°·±d¡A¤ß·Q¨Æ¦¨¡C

TOP

¦^´_ 26# missbb
GBKEE ¤w¸g¸Ñ¨M¤F©pªº´£°Ý¡C
°£·³§G·s¡A·s¦~§Ö¼Ö¡I

TOP

¦^´_ 25# missbb
²×©ó¬ÝÀ´©p©Ò¥¬§½ªº¤½¦¡¤F¡AÁÂÁ©p¡I

TOP

        ÀR«ä¦Û¦b : «H¤ß¡B¼Ý¤O¡B«i®ð¤TªÌ¨ã³Æ¡A«h¤Ñ¤U¨S¦³°µ¤£¦¨ªº¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD