摘要:
在Excel中存在着Excel.ListBox和MsForms.ListBox两种ListBox。其中Excel.ListBox是隐藏的,你在ObjectView窗体中是不可见的(如果你想看到这个类请在ObjectView窗体上点击右键选择"Show Hidden Members"/”显示隐含成员“... 阅读全文
摘要:
Primary interop assemblyOffice 2013 Component IDOffice 2013 Component ID [64 bit]Excel{C8A65ABE-3270-4FD7-B854-50C8082C8F39}{E3BD1151-B9CA-4D45-A77E-5... 阅读全文
摘要:
例程目的:在一个表格中,当选择"None"前的CheckBox后,表格中的其他CheckBox会消失(以防错选)。当取消选择后CheckBox会重新出现。如图:说明:此前必须将"None"前CheckBox的Title设定为"None"。Option ExplicitPrivate Sub Docu... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using DocumentFormat.OpenXml.Spreadsheet;using com.mksword.Net.OpenX... 阅读全文
摘要:
// InsertAfterSheets.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include HRESULT AutoWrap(int autoType, VARIANT *p... 阅读全文
摘要:
在VBA中Addressof不能在Class或Form中使用,只有Module模式下才能使用Addressof以面是一个计时器的例子:Form1中代码:Private Declare Function KillTimer Lib "user32" (ByVal hwnd As Long, ByVal... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;namespace ConsoleApplication14{ class Pro... 阅读全文
摘要:
在Word我们通常在VBA或VB.NET环境下以如下方式查找Wingdings符号: Dim wdApp As Word.Application = Globals.ThisDocument.Application Dim wdDoc As Word.Document =... 阅读全文
摘要:
// AddHyperLinkViaCom.cpp : Defines the entry point for the console application.//#include "stdafx.h"HRESULT AutoWrap(int autoType, VARIANT *pvResult,... 阅读全文
摘要:
// Outlook_AddLink.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include HRESULT AutoWrap(int autoType, VARIANT *pvR... 阅读全文