vb.net使用excel工作簿/ excel工作表编辑/创建.xml

时间:2018-10-21 19:18:26

标签: excel xml vb.net

我需要使用以下样式来编辑或创建(取决于更简单的).xml文档:

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">
 <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">

是否有一个简单的vb.net API来编辑工作表中的行和单元格,或者如果我只是编辑整个文本并插入行和单元格行,会更容易还是唯一的方法?

谢谢

1 个答案:

答案 0 :(得分:0)

EPPlus是一个.NET库,它使用Office Open XML格式(xlsx)读取和写入Excel文件。