Template in Excel

xiaoxiao2021-03-06  58

Excelapplication myexcel = new excelapplication (); ?? //myexcel.visible = true;

?? string _templatefile = Application.startuppath @ "/ modules / excelaxport / template /" mydataview.table.tablename ".xlt";

?? if (system.io.file.exists (_templatefile)) ?? {??? myexcel.workbooks.open (_templatefile, missing.value, miss, miss, miss, missing.value, missing.Value, missing . Value, missing.value, missing.value, missing.value, missing.value, missing.value, missing.value; ??} ?? else {??? myexcel.workbooks. Add (missing.value); ??} ?? Worksheet myworksheet = (worksheet) myexcel.activesheet;

转载请注明原文地址:https://www.9cbs.com/read-117142.html

New Post(0)