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

¦Û°Ê½Æ»s¦³¸ê®Æªº°Ï¶ô

¶W¯Åª©¥D,ÁÂÁ±z¦^ÂÐ,«e­±©Ò¦^Âаõ¦æ§¹¥þOK.
§Ú±N±z¼gªºµ{¦¡­×§ï¨ì¥t¤@­ÓÀɮפ¤,¥H¤U¬O±N¸ê®Æ¥t¶}¤@­Ó·sªº¤u§@ªí(book1)¶K¤W,°õ¦æ¸Ó§R°£ªº¸ê®Æ«á,¥H¤U¬O§Ú·Q·s¼Wªºµ{¦¡:
§Ú·Q±N¾ã²z«áªº¸ê®Æ³Ñ¤UA:D,¥´¶}ÂÂÀɶK¤W¥u¦³A:D¦³¼Æ­Èªº³¡¥÷,¨ä¸ô®|¤ÎÀɦW¬°:P:\BCM\2011 BCMart Multi-Format.xlsx,¥t¤@­ÓÃøÃD¬O¦]¬°§Ú¥i¯à¥´¶}ªº¬Obook2 or book3¥h°õ¦æ¥H¤Uªºµ{¦¡,©Ò¥H­n¦p¦ó¼g¤~¯àÅý¥¦¨Ìbookxx¥hcopy¸ê®Æ?
Sub copy_Chart_F()
'
' copy_Chart_F ¥¨¶°
'

'
    Windows("VBA Cluster.xlsm").Activate
    With ThisWorkbook.Sheets("Chart-F")
    .Columns("D:AP").Hidden = False
    Set A = Intersect(.UsedRange, .Range("D:Z")).SpecialCells(xlCellTypeVisible)
    With Workbooks.Add
   With .Sheets(1)
   A.Copy .Range("A1")  '§¹¥þ½Æ»s
     A.Copy
    .Range("A1").PasteSpecial xlPasteValues '¿ï¾Ü©Ê¶K¤W­È
    .Columns("G:U").Delete Shift:=xlToLeft
    Columns("B:E").Delete Shift:=xlToLeft
    Columns("B:B").Select
    Selection.Cut
    Columns("D:D").Select
    Selection.Insert Shift:=xlToRight
   
   End With
   
   End With
   End With
   
   
End Sub

TOP

§Ú¸ÕµÛ­×§ïª©¥DÀ°§Ú¼gªºµ{¦¡,²{¦b¦³°ÝÃDªº¬O«á¥b¬q,copy "Chart-F",A:D¦³¼Æ­Èªº°Ï°ì,¶K¨ì¤w¶}±ÒªºÀÉ®×"2011 BCMart Multi-Format.xlsx" ªºsheets("Factory's order")ªºA1Àx¦s®æ,¦ý³£¶K¤£¤W,§Ú±NÀɮפW¶Ç,½Ð¤j®aÀ°§Ú¬Ý¬Ý°ÝÃD¦b­þ¸Ì,ÁÂÁÂ! Chart-F.zip (32.73 KB)

    With ThisWorkbook.Sheets("Chart-F")
    Set B = Intersect(.UsedRange, .Range("A:D")).SpecialCells(xlCellTypeVisible)
    Windows("2011 BCMart Multi-Format.xlsx").Activate
    Sheets("Factory's order").Select
    B.Copy .Range("A1")  '§¹¥þ½Æ»s
   End With
   
   
End Sub

TOP

¦^´_ 12# PJChen


    With ThisWorkbook.Sheets("Chart-F")
    Set B = Intersect(.UsedRange, .Range("A:D")).SpecialCells(xlCellTypeVisible)
    B.Copy Workbooks("2011 BCMart Multi-Format.xlsx").Sheets("Factory's order").Range("A1")      '§¹¥þ½Æ»s
   End With
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

Dear,
§Ú·Q­n½Æ»s¸ê®Æ®É,§¹¥þ½Æ»s«á¶K¤W­È,¥i¬O°õ¦æ¨ì¿ï¾Ü©Ê¶K¤W­È´N¥¢±Ñ¤F,½Ð°Ý­þ¸Ì¥X¿ù¤F? Chart-F.zip (37.44 KB)
   With ThisWorkbook.Sheets("Chart-F")
    Set B = Intersect(.UsedRange, .Range("A:D")).SpecialCells(xlCellTypeVisible)
    B.Copy Workbooks("2011 BCMart Multi-Format.xlsx").Sheets("Factory's order").Range("A1")  '§¹¥þ½Æ»s
    B.Copy Workbooks("2011 BCMart Multi-Format.xlsx").Sheets("Factory's order").Range("A1").PasteSpecial xlPasteValues  '¿ï¾Ü©Ê¶K¤W­È,¥¢±Ñ¤F

    End With

TOP

¦^´_ 14# PJChen

With ThisWorkbook.Sheets("Chart-F")
    Set B = Intersect(.UsedRange, .Range("A:D")).SpecialCells(xlCellTypeVisible)
    Workbooks("2011 BCMart Multi-Format.xlsx").Activate
    Sheets("Factory's order").Range("A1").Select
    B.Copy
    Selection.PasteSpecial xlPasteValues   '¿ï¾Ü©Ê¶K¤W­È
End With
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

ª©¤j,
­×§ï«á¥i¥H°õ¦æ,¦ý°õ¦æ¤£§¹¥þ,¸Õ¤F¦n´X¦¸,µ²ªG³£¬Û¦P,¦ü¥G¥u¦³copy ÄæA¸ê®Æ,B:C¸ê®ÆCOPY¤£§¹¥þ,¥i§_À°§Ú¬Ý¬Ý¬°¤°»ò?TKS. Chart-F.zip (63.46 KB)

TOP

ª©¤j,§Ú§ä¨ì­ì¦]¤F,³o­Óªí¤w¸gok. ÁÂÁ§A.
    With Workbooks("Chart-F.xlsx").Sheets("¤u§@ªí1")
    Set B = Intersect(.UsedRange, .Range("A:D")).SpecialCells(xlCellTypeVisible)
    Workbooks("2011 BCMart Multi-Format.xlsx").Activate
    Sheets("Factory's order").Select
    Range("A1").Select
    B.Copy
    Selection.PasteSpecial xlPasteValues   '¿ï¾Ü©Ê¶K¤W­È
    End With

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD