- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 9# v03586 - Sub ·s³øªí_HQ¶×¤J()
- 'timeStamp = Now
- 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 = Workbooks(1).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
- With Workbooks.Open(ThisWorkbook.Path & "\ì©lÀÉ®×.xlsx")
- With 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 = Sheets("H LOT")
- hasReport = True
- End If
- End With
- If hasReport = False Then MsgBox "§ä¤£¨ì³øªíÀÉ¡I¡@": Exit Sub
- R = xS.Cells(Rows.Count, 1).End(xlUp).Row + 5
- With RepSht
- .Range("A1:A" & R) = xS.Range("E1:E" & R).Value 'pkg
- .Range("B1:B" & R) = xS.Range("A1:A" & R).Value 'MO
- .Range("C1:C" & R) = xS.Range("G1:G" & R).Value 'MO Lot
- .Range("D1:D" & R) = xS.Range("S1:S" & R).Value 'Machine
- .Range("E1:E" & R) = xS.Range("Z1:Z" & R).Value 'PCCode
- .Range("F1:F" & R) = xS.Range("D1:D" & R).Value 'Device
- .Range("G1:G" & R) = xS.Range("F1:F" & R).Value 'input Date
- .Range("H1:H" & R) = xS.Range("M1:M" & R).Value 'DavinciCode
- .Range("I1:I" & R) = xS.Range("N1:N" & R).Value 'Thickness
- .Range("J1:J" & R) = xS.Range("AA1:AA" & R).Value 'SitePath
- .Range("K1:K" & R) = xS.Range("Q1:Q" & R).Value 'WS Tool
- .Range("L1:L" & R) = xS.Range("R1:R" & R).Value ' Status
- .Range("M1:M" & R) = xS.Range("H1:H" & R).Value 'WIP
- .Range("N1:N" & R) = xS.Range("J1:J" & R).Value ' WaferPcs
- .Range("O1:O" & R) = xS.Range("AB1:AB" & R).Value ' DA Flow
- .Range("P1:P" & R) = xS.Range("AC1:AC" & R).Value ' LastMO
- .Range("Q1:Q" & R) = xS.Range("V1:V" & R).Value 'B/D
- .Range("R1:AD1") = Split("TBG1,PGH1,WG,LWS1,DE01,FL01,SLS1,WM01,WS01,UTI1,VS01,QVS1,DB,", ",")
-
- .Range("AF1:AF" & R) = xS.Range("J1:J" & R).Value ' WaferPcs Cut
- End With
- .Close
- End With
- '
- '
- ' *** ¥H¤U¥¼¸g×¥¿ ***
- '
- '
- End Sub
½Æ»s¥N½X |
|