Hi All,

I has a question how can i insert a image into a specific cell in excel using the vb6.
I already store the image(jpg) in a specific location then i want to display it at excel

Can you all teach me what the method i should use? Or can give me an example of the coding
it would be a great help for me....


Thank in advance....

You will be using something like -

Dim o As Object
Set o = Sheet3.Pictures.Insert("Z:\mypic.gif")
o.Top = Sheet3.Cells(5,1).Top
o.Left = Sheet3.Cells(5,1).Left

@Gingank, please mark this thread as solved found at the bottom of this page, thanks.:)

It has been left open for some time now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.