Link to home
Start Free TrialLog in
Avatar of Asent1
Asent1Flag for United States of America

asked on

Delphi Code for Excel

I got the following VBA code to solve a problem storing images in Excel:

Dim myPict As Picture

With ActiveCell
Set myPict = .Parent.Pictures.Insert("C:\ron.png")
myPict.Top = .Top
myPict.Left = .Left
End With

How do I do this in Delphi. Specifically how do I declare myPict in Delphi to work with Excel?
ASKER CERTIFIED SOLUTION
Avatar of huacat
huacat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial