using ET;
namespace wpsxls1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
ET.Application pApplication = new ET.Application();
pApplication.Visible = true;
pApplication.Workbooks.Open(@"d:\所有权权属调查表模板.xls");
pApplication.ActiveWorkbook.ExportPdf(@"d:\1.pdf");
}
}
}