- ©«¤l
- 193
- ¥DÃD
- 29
- ºëµØ
- 0
- ¿n¤À
- 222
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows7
- ³nÅ骩¥»
- OFFICE2013
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2015-9-18
- ³Ì«áµn¿ý
- 2023-4-29
|
¦^´_ 8# c_c_lai
§Ú§ó§ï³o¼Ë ÁÙ¬O¥X²{¿ù»~C , °}¦C¤Þ¯Á¶W¥X½d³ò
¡õ
With Workbooks(i).Sheets("H LOT")- Dim xFile$, x As New Application, xB As Workbook, xS As Worksheet
- Dim RepSht As Worksheet, xR As Range, xLab As Range, xAddress$
- Set RepSht = Sheets("FMC")
- Sheets("FMC").Activate
- Application.ScreenUpdating = False
- RepSht.UsedRange.EntireRow.Delete
- Dim currentPKG, currentDevice, whichFirst As String
- Dim index As Integer
- Dim hasReport As Boolean
- title_row = 1
- hasReport = False
- For i = 1 To Workbooks.Count
- With Workbooks(i).Sheets("H LOT")
- If .Range("A" & title_row).Value Like "MONBR*" And .Range("D" & title_row).Value Like "DEVICE*" And .Range("E" & title_row) Like "PKG*" Then
- Set xS = Workbooks(i).Sheets("H LOT")
- hasReport = True
- i = Workbooks.Count + 1
- End If
- End With
- Next i
- If hasReport = False Then MsgBox "¡±ä¤£¨ì³øªíÀÉ¡I¡@": Exit Sub
- R = xS.Cells(Rows.Count, 1).End(xlUp).Row + 5
½Æ»s¥N½X |
|