窗口保存表文件,形成电子表格的代码如下:
Dim dlg As new SaveFileDialog
dlg.Filter = "Excel|*.xls;*.xlsx"
If dlg.ShowDialog = DialogResult.OK Then
CurrentTable.SaveExcel(dlg.FileName, CurrentTable.Name)
Dim proc As new Process
proc.File = dlg.FileName
proc.Start
End If
请教如何修改修改代码,在电子表格中自动插入三个图像:C:\图1(WMF格式),C:\图2(WMF格式),C:\图3(WMF格式)
谢谢!