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

[µo°Ý] ¸óÀɮפu§@ªí¦WºÙ°ÝÃD½Ð±Ð

[µo°Ý] ¸óÀɮפu§@ªí¦WºÙ°ÝÃD½Ð±Ð

1¸óÀɮפu§@ªí¦WºÙ°ÝÃD½Ð±Ð
1.1¦p¹Ï¤@¨Ï¥Î Sheet46.Select ¨q¥X "¦¹³B»Ý­nª«¥ó" °±©óSheet46.Select
    ¦ý¥Î Sheets("À£¦Xµ²ºc").Select §YµL°ÝÃD
1.1.1 ­«ÂI¬O   Sheet46 ¤u§@ªí¦WºÙ´N¬O ("À£¦Xµ²ºc") ¬°¦ó¨Ï¥ÎSheet46.Select ¨q¥X "¦¹³B»Ý­nª«¥ó"
2.·Ð¤£§[½ç±Ð   THANKS    ROBERT 05/10

¹Ï¤@
Sub REPORT()
    WNM = ActiveWindow.Caption
    Dim fn As String
    fn = Application.GetOpenFilename("©Ò¦³¤å¥ó,*.*")
    If fn = "" Or fn = "False" Then Exit Sub
    Workbooks.Open Filename:=fn
    WNM1 = ActiveWindow.Caption
    Sheet46.Select  
    SHTNM = ActiveSheet.Name
    Do Until Range("H3") = "mm"
        Application.Run "'" & WNM1 & "'!Ch_Unit"
    Loop

    Windows(WNM).Activate
    A = Sheets("VBA").Range("B3")
    B = 7

    Do Until A > Sheets("VBA").Range("B3")
        Do Until Range("I" & A) <> ""

            A = A + 1
        Loop
        
        If Workbooks(WNM1).Worksheets(SHTNM).Range("B" & B) = "CO COPPER THICKNESS:" Or Workbooks(WNM1).Worksheets(SHTNM).Range("B" & B) = "SO COPPER THICKNESS:" Then B = B + 1
        Do Until Workbooks(WNM1).Worksheets(SHTNM).Range("I" & B) <> ""

            B = B + 1
        Loop
        
        Range("J" & A) = Workbooks(WNM1).Worksheets(SHTNM).Range("I" & B)

        A = A + 1
    Loop

    Windows(WNM1).Activate
    ActiveWorkbook.Close SaveChanges:=False
    Windows(WNM).Activate
    ActiveSheet.Shapes.Range(Array("«ö¶s 2")).Delete
End Sub
ù

¥»©«³Ì«á¥Ñ GBKEE ©ó 2017-5-12 06:11 ½s¿è

¦^´_ 1# rouber590324

°õ¦æµ{¦¡½XVBProject©ÒÄݪºExcelª«¥ó¦p¬O ActiveWorkbook
©Îµ{¦¡½X«ü©ú¦bVBProject©ÒÄݪºExcelª«¥ó¤¤ªº¤u§@ªíª«¥ó
Sheet46.Select ¨S¦³¿ù»~
ActiveWorkbook ¤£¬Oµ{¦¡½XVBProject©ÒÄݪºExcelª«¥ó,
¤u§@ªí¦WºÙ Sheets("À£¦Xµ²ºc").Select
©Î ¤u§@ªíªº¯Á¤Þ­È¦p Sheets(5).Select
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

dear GBKEE ¤j¤j
·PÁ±z¤§¦^ÂÐ. thanks*10000
ù

TOP

        ÀR«ä¦Û¦b : ¥Ç¿ù¥XÄb®¬¤ß¡A¤~¯à²M²bµL·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD