Insert don't accept TmemoryStream object for the great spirit
Lv_Excel:=CreateOleObject (' Excel. Application);
Lv_WorkBook:=Lv_Excel WorkBooks. Add;
Lv_WorkSheet:=Lv_WorkBook WorkSheets [1].
Lv_WorkSheet. Activate;
Lv_WorkSheet. Select;
Lv_WorkSheet. Pictures. Insert (' D: \ Delphi \ TEST JPG). Select;
Lv_WorkSheet. Pictures. Left:=100;
Lv_WorkSheet. Pictures. Top:=200;
Lv_Excel. Visible:=True;
CodePudding user response:
Pictures can't save first?