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

[µo°Ý] ¥¨¶°°}¦Cªºµ{¦¡

¦^´_ 19# PJChen
°õ¦æ«á¥X²{3ªº¹ï¸Ü®Ø,µM«á Rng(xi).Parent.Pictures.Delete ´NµLªk¹B§@
MsgBox xi ' ³o®É xi=.Pictures.Count + 1      xi ¤w¬O 3
¥i¬Oµ{¦¡½X  ¨S¬Ý¨ì SET Rng(xi)=??    ©Ò¥H·|¥X¿ù

TOP

¦^´_ 7# GBKEE

¤j¤j,

§Ú±Nµ{¦¡¾ã²z¶i®×¨Ò¤¤¤F,½ÐÀ°¦£¬Ý¬Ý: Shipping formula-2.zip (111.39 KB)

TOP

¦^´_ 18# GBKEE

¤j¤j,

°õ¦æ«á¥X²{3ªº¹ï¸Ü®Ø,µM«á´NµLªk¹B§@,¨ì¥¨¶°µ{¦¡¤¤,¬Ý¨£¥H¤Uªº¦r®Ø°_¨Ó¤F.
   Rng(xi).Parent.Pictures.Delete  '§R°£ Rng(xi)¤÷¼h(¤u§@ªí)ªº¹Ï¤ù

TOP

¦^´_ 17# PJChen
  1. Sub change_Signed()
  2.     Dim Rng(1 To 3) As Range, xi As Integer
  3.     With Workbooks("Shipping formula-2.xlsm").Sheets("Signed")
  4.         For xi = 1 To .Pictures.Count
  5.             .Pictures(xi).Name = "ñ¦W" & xi
  6.         Next
  7.     End With
  8.     MsgBox xi ' ³o®É xi=.Pictures.Count + 1 ¶W¥X Rngªº¯Á¤Þ­È
  9.     Rng(xi).Parent.Pictures.Delete  '§R°£ Rng(xi)¤÷¼h(¤u§@ªí)ªº¹Ï¤ù
  10.     Rng(xi).PasteSpecial
  11. End Sub
½Æ»s¥N½X

TOP

¦^´_ 6# PJChen
»yªk ³£¥¿½T ¹B§@¥¿±`
µLªk¹B§@   ½Ð»¡¬O­þ¸Ì¥X¿ù!

TOP

¦^´_ 5# GBKEE

¤j¤j,
±z¦^ÂЪº³sµ²¬O§ï¹Ï¤ù¦WºÙ¤Î¶Kñ¦W¦Ü3­Ó¤u§@ªí,¦ý§Ú¥u­n¶K1­Óñ¦W,²{¦b§Ú§â¥¦§ï¬°¥H¤U,¦ýµLªk¹B§@,¥i¥HÀ°¦£¬Ý¬Ý¶Ü?

Sub try()
    Dim Rng As Range
    Workbooks("Shipping formula.xlsm").Sheets("Signed").Pictures("ñ¦W2").Copy
    With Workbooks("Shipping for Courier.xlsx")
        .Activate
    Set Rng = .Sheets("PKG").[D:D].Find("TOTAL N. W.", LOOKAT:=xlPart).Offset(0, 11)
    If Not Rng Is Nothing Then
        With Rng
            .Parent.Activate   'Worksheet
            .Activate       'Range
        End With
        ActiveSheet.Paste
    End If
    End With
End Sub

TOP

¦^´_ 16# GBKEE

¤j¤j,

½Ð±Ð§Ú·Q±N§ó§ï¹Ï¤ù¦WºÙ»P¶Kñ¦Wªºµ{¦¡¤À¶},¦]¬°§ó§ï¹Ï¤ù¦WºÙ¥u­n¶i¦æ¤@¦¸§Y¥i,¦Ó§ó§ï«áªºÃ±¦W«o¬O¦³³\¦hµ{¦¡­n¦@¥Îªº.§Ú§â¥¦§ï¬°¥H¤U,¤£ª¾­þ¥X¿ù¤F,µLªk¹B§@?

Sub change_Signed()
    'Dim Rng(1 To 3) As Range, xi As Integer
    With Workbooks("Shipping formula-2.xlsm").Sheets("Signed")
        For xi = 1 To .Pictures.Count
            .Pictures(xi).Name = "ñ¦W" & xi
        Next
    End With
            Rng(xi).Parent.Pictures.Delete  '§R°£ Rng(xi)¤÷¼h(¤u§@ªí)ªº¹Ï¤ù
            Rng(xi).PasteSpecial
End Sub

TOP

TOP

¦^´_ 10# PJChen
¸Õ¸Õ¬Ý
  1. Sub try()  '¨C¤@­Óñ¦WÀɳ£¥i¥H§ï¥¦¦Û¤vªº¥N¸¹ ( Name ,¦WºÙ)
  2.     Dim Rng(1 To 3) As Range, xi As Integer
  3.     With Workbooks("Shipping formula-2.xlsm").Sheets("Signed")
  4.         For xi = 1 To .Pictures.Count
  5.             .Pictures(xi).Name = "ñ¦W" & xi
  6.         Next
  7.         .Pictures("ñ¦W1").Copy '.Pictures("ñ¦W2").Copy
  8.     End With
  9.     With Workbooks("Shipping for ACE.xlsx")
  10.         Set Rng(1) = .Sheets("PKG").[R:R].Find("B. C. MART COMPANY LTD.", LOOKAT:=xlPart).Offset(2, -2)
  11.         Set Rng(2) = .Sheets("INV").[Q:Q].Find("B. C. MART COMPANY LTD.").Offset(2, -2)
  12.         Set Rng(3) = .Sheets("SCD").[B:B].Find("Signature:").Offset(0, 1)
  13.         For xi = 1 To 3
  14.             Rng(xi).Parent.Pictures.Delete  '§R°£ Rng(xi)¤÷¼h(¤u§@ªí)ªº¹Ï¤ù
  15.             Rng(xi).PasteSpecial
  16.         Next
  17.     End With
  18. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# GBKEE

¤j¤j,

½Ð°Ý³o­Óµ{¦¡­Y§ï¬°¥u¶K¦b¤@­Ósheet( INV),¦Ó¤£¬O¶K3­Ósheet, §Ú±N¥L§ï¬°¥H¤U,Áö¥i¥H°õ¦æ,¦ý­ì¥ý§AÀ°§Ú¼gªº¬O°}¦C,²{¦b§ï³o¼Ë¦n¹³¦³ÂI½ÆÂø¤Æ¤F,§Ú¥i¥H«ç»ò­×¥¿©O?
   Dim Rng(1 To 1) As Range, xi As Integer
    Workbooks("Shipping formula.xlsm").Sheets("Signed").Pictures("Picture 1").Copy
    With Workbooks("Shipping for Courier.xlsx")
        .Activate
        Set Rng(1) = .Sheets("INV").[R:R].Find("B. C. MART COMPANY LTD.").Offset(3, 0)
        For xi = 1 To 1
            Rng(xi).Parent.Activate
            Rng(xi).Activate
            ActiveSheet.Paste
        Next
    End With

TOP

        ÀR«ä¦Û¦b : ¥@¤W¦³¨â¥ó¨Æ¤£¯àµ¥¡G¤@¡B§µ¶¶ ¤G¡B¦æµ½¡C
ªð¦^¦Cªí ¤W¤@¥DÃD