Hi,
Using Excel buffer, I want to Export a Picture to a excel. (For ex:CompInfo.Picture) using dotnet variable.
Suggestion Please..
Thank you.
*This post is locked for comments
Hi,
Using Excel buffer, I want to Export a Picture to a excel. (For ex:CompInfo.Picture) using dotnet variable.
Suggestion Please..
Thank you.
*This post is locked for comments
You can check available assembly list in .NET type. You can explore the package Microsoft.Office.Tools.Excel.
Thanks Paolo.
Like, with automation based your inputs should be working fine ,But I want to try with 'DotNet' type.
Thanks
i have never tryed but in this post seem it can be done
forum.mibuso.com/.../exporting-picture-object-to-excel
The Function CreateSheet() in "Excel Buffer" table generates the Shape.
SetPathToPicture(PicturePath:Text[1024]) Here we store in a global variable the Path
FilePathAndName := PicturePath;
in function CreateSheet() we check the Value of the variable FilePathAndName and check if folder and file exist. if both is true, we import the Picture in our shape.
CreateSheet()
//New Code +++++++
if (FilePathAndName <> '') and (Exists(FilePathAndName)) then
XlWrkSht.Shapes.AddPicture(FilePathAndName, 1, 1, 20, 20, 100, 100);
//New Code ------------
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,309
Most Valuable Professional
nmaenpaa
101,156