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

[µo°Ý] ¦p¦óÀu¤Æ-·J¾ã¦h­Ó¤u§@ªí¤ºªº³¡¥÷¤º®e(°}¦C¤è¦¡)

[µo°Ý] ¦p¦óÀu¤Æ-·J¾ã¦h­Ó¤u§@ªí¤ºªº³¡¥÷¤º®e(°}¦C¤è¦¡)

½Ð°Ý¥H¤Uµ{¦¡½XÁÙ¯à¦p¦óÀu¤Æ¤w¤Î¦p¦óÄÀ©ñ°O¾ÐÅé©O
¤w¸g¨Ï¥Î°}¦C¤è¦¡§ì¨ú¼Æ¾Ú~¦ý³t«×ÁÙ¬O¦³ÂIºC ¬ù200­ÓÀÉ®×

Sub §å¦¸§ì¼Æ¾Ú()

Application.Calculation = xlManual '¤â°Ê­pºâ,Ãö³¬

Application.ScreenUpdating = False ' ¿Ã¹õ¨ê·s,Ãö³¬

   Dim filenames As Variant

''³]¸m¼Æ²Õµ¹Åܶq©M¯u¬°¦h¿ï
   ' set the array to a variable and the True is for multi-select
   filenames = Application.GetOpenFilename(, , , , True)

      counter = 1

      ' ¿ï¾ÜÁ`¦@­n¶}±ÒªºÀÉ®×
      While counter <= UBound(filenames)

         '¥´¶}¿ï©wªº¤å¥ó,¥B¤£§ó·s³sµ²
         Workbooks.Open filenames(counter), UpdateLinks:=0
         
         '¥¨¶°
         §ì¼Æ¾Ú
         'Ãö³¬¿ï¾ÜªºÀÉ®×
         'ActiveWorkbook.Close True
         
         
         ' ®ø®§®Ø Åã¥Ü¤å¥ó¦W
         'MsgBox filenames(counter)

         '¶}±Ò·sÀÉ®×
         counter = counter + 1

      Wend
      
      ' ¿Ã¹õ¨ê·s,¶}±Ò
Application.ScreenUpdating = True
Application.Calculation = xlAutomatic
        End Sub

-----------------------------------------
Sub §ì¼Æ¾Ú()
  Dim strArr() As Variant
  Dim I As Long, J As Long
  Dim K As Long
workname = ThisWorkbook.Name
¶g¼Æ = Sheets("¤u§@ªí1").Range("AA2")
½d³ò1 = Sheets("¤u§@ªí1").Range("AB2")
½d³ò2 = Sheets("¤u§@ªí1").Range("AB3")
Sheets(¶g¼Æ).Select
  strArr() = Range("S" & ½d³ò1 & ":AV" & ½d³ò2)


  For J = 1 To 30
    For I = 1 To 10
      K = K + 1
      strArr(I, J) = strArr(I, J) '& "(Change Index=" & K & ")"
    Next I
  Next J
  ActiveWorkbook.Close True
  Windows(workname).Activate
   
   Rng = Cells(1, 1).End(xlDown).Row + 1 '²Ä¤@®æ³Ì¥½¦C+1
  Sheets("¤u§@ªí1").Range("A" & Rng).Resize(10, 30) = strArr()



End Sub

±N¼g¤J¸ê®Æ³¡¥÷¥ýºb±¼¡A¥u´ú¸Õ¦U¨Ó·½ÀɪºOPEN¤ÎCLOSE¡A
§Y¥i¤ñ¸û©Ò¯Óªº®É¶¡¦b­þ³¡¥÷¡H

­Y¬O¤wÃö³¬¦Û°Ê­«ºâÁÙ¬O­n«Ü¤[¡A´N­n¥hÀu¤Æ¨C­Ó¨Ó·½ÀÉ¡A
©ÎªÌ¤W¶Ç¤@­Ó¨Ó·½Àɵ¹¤j®a°Ñ¦Ò¬Ý¬Ý¡ã

TOP

¦^´_ 2# ­ã´£³¡ªL
°ÝÃDÀ³¬O·½Àɸû¤j ¨C­Ó¬ù400K¥ª¥k,¨C­ÓÀɸ̭±¬Ò¦³­Ó¸ê®Æ®w©w¸q¤F¬ù1000­Ó¦WºÙ(¤U©Ô²M³æ¨Ï¥Î)¥[¤Wªñ¤@¸U­Ó¨ç¼Æ
·Q½Ð°Ý¦pªG±N¸ê®Æ®w³æ¿WÅý¥L¿W¥ß¥X¨Ó¦¨(¸ê®Æ®w.xlsm),¨C­ÓÀɮ׳£¥hŪ¨ú¸ê®Æ®w¤ºªº©w¸q¦WºÙ~·|§_³y¦¨¹Bºâ§ó½wºC©O¡A¦]¤@¦~¦Ü¤Ö·|²£¥Í¬ù¤T¤d­ÓÀÉ®×¥hŪ¨ú¸ê®Æ®wªº©w¸q¦WºÙ

ª©¤j~¥t·Q½Ð°Ý¤@¤U
Rng = Cells(1, 1).End(xlDown).Row + 1 '²Ä¤@®æ³Ì¥½¦C+1

¦pªGA2µL¸ê®Æ·|¸õ¦Ü¤@¦Ê¸U¦C,·Q½Ð°Ý¦p¦ó«ÈªA³o°ÝÃD

TOP

¦^´_ 3# starry1314


Cells(1040000, 1).End(xlUp).Row '§ä¥X104¸U¦CªºAÄæ¦ì¸Ì­±,­þ¤@­Ó¸ê®Æ¬O³Ì«á¤@¦C,¦pªG¬Oª©ªº2003¥i¥H§â104¸U§ï¦¨65536
PKKO

TOP

¦^´_ 4# PKKO

·PÁ±оǡã­ì¨ÓÁÙ¯à³o¼Ë¥Î!!

TOP

¦^´_ 3# starry1314


¨C­ÓÀɮ׳£°t¸m¡e¸ê®Æ®w¡f¤u§@ªí¡A©w¸q¤F¬ù1000­Ó¦WºÙ¡]¤U©Ô²M³æ¥Î¡^¡A
­Y³o¤u§@ªí¥u¬O¯Â¤å¦rµL¤½¦¡¡A¥¦¥uÅýÀÉ®×µy·LÅܤj¡A¹ï¶}±Ò¾Þ§@À³ÁÙ¦n¡A
¿W¥ß¥X¨ÓÅý©Ò¦³¨Ó·½ÀÉ¡e¸óÀÉ¡f¤Þ¥Î¡H¥i¯à¥~³¡³sµ²§ó¥[³Â·Ð¡I
¡@
¨Ó·½Àɪº¤½¦¡¡A«Øij¦b·s¼W¸ê®Æ®É¡A¥ÎVBA¨ê·s¤@¦¸¦A¶K¦¨¡e­È¡f¡A
¨Ò¦p¡G¤µ¤Ñ¦b²Ä¢±¡ã¢°¢¯¢¯¢¯¦C·s¼W¸ê®Æ¡A§¹¦¨«á¡A¥HVBA¨ê·s³o³¡¥÷ªº¤½¦¡­È¡A
¡@¡@¡@©ú¤Ñ¦b²Ä¢°¢¯¢¯¢°¡ã¢²¢¯¢¯¢¯¦C·s¼W¸ê®Æ¡A¤]¥u°w¹ï¦¹³¡¥÷¨ê·s¡A
¡@¡@¡@³o¼Ë¤£¶È¦b¾Þ§@¨Ó·½Àɮɤ£­P¦³¥dÀɲ{¹³¡A­n¶×¾ã®É¤]¸û¦³®Ä¯q¡I
¡@
¨ú±o³Ì«á¤@µ§¸ê®Æªº¤U¤@ªÅ¥Õ¦ì¸m¡A³q±`¥Î¡G
R = Cells(Rows.Count, 1).End(xlUp) + 1
Rows.Count = ¤u§@ªíªºÁ`¦C¼Æ

TOP

¦^´_ 6# ­ã´£³¡ªL

ÁÂÁ«ü¾É~§Ú¦b¹Á¸Õ½Õ¾ã¬Ý¬Ý

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¤H¤£©È¿ù¡A´N©È¤£§ï¹L¡A§ï¹L¨Ã¤£Ãø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD