摘要:
【要点】:在Word中添加两个表时中间必须空出一行,否则这两个表会合并成一个表。另外,当用代码添加完第一个表后必须将光标移出表格,否则第二个表格会套嵌在第一个表格中。以下是代码:Public Class ThisDocument Private Sub ThisDocument_Startup... 阅读全文
摘要:
#pragma once#define Word Microsoft::Office::Interop::Wordnamespace WordTableBoards { using namespace System; using namespace System::ComponentModel; u... 阅读全文
摘要:
基本做法同http://blog.csdn.net/tx_officedev/article/details/7333018只是不要选中Register for COM Interop。然后通过C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regas... 阅读全文
摘要:
我们可从SharePoint网站上导出iqy文件然后把iqy文件导入Excel。还有我们可以用VBA来做这个事情,代码如下:Sub ImplementSharePointList() Dim HomeAddress As String Dim ListID As String Di... 阅读全文