excel如何在首行(或页眉)插入图片,并居中,编程方式实现(1分)

  • 主题发起人 主题发起人 hamang
  • 开始时间 开始时间
H

hamang

Unregistered / Unconfirmed
GUEST, unregistred user!
excel如何在首行(或页眉)插入图片,并居中,编程方式实现
 
Only excel 2002 support insert object into header.
delphi 6 just support excel 2000

here is the code that insert picture to excel sheet
gvv_Excel.ActiveSheet.Pictures.Insert(gvs_LogoFileName).Select;
gvv_Excel.ActiveSheet.Shapes.Item(gvv_Excel.ActiveSheet.Shapes.Count).Left:=100;
 
后退
顶部