Copying image in VBA

前端 未结 1 849
深忆病人
深忆病人 2021-01-24 20:55

I have image (\"picture\") in ones of my worksheets (\"mechanic\"). How to copy this image to another worksheets (\"character\"), using VBA code? I try this:

Sub         


        
相关标签:
1条回答
  • 2021-01-24 21:53

    Use this code:

    Sub copy()
        Worksheets("mechanic").Shapes("Picture").Copy
        Worksheets("character").Range("A8").PasteSpecial
    End Sub
    
    0 讨论(0)
提交回复
热议问题