会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
红泥屋
许阳的红泥屋
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
16
下一页
2012年5月18日
向SdtBlock中添加Table
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using DocumentFormat.OpenXml.Packaging;us...
阅读全文
posted @ 2012-05-18 13:22 许阳 无锡
阅读(172)
评论(0)
推荐(0)
2012年5月16日
RibbonXml Office 2007与Office 2010在装载上的区别
摘要: 在实际工作中我注意到在Office 2007中,当RibbonXml装载完成以后私有属性ribbon仍然是存在的,而在Office 2010中ribbon在装载完成以后就被销毁了。
阅读全文
posted @ 2012-05-16 14:16 许阳 无锡
阅读(182)
评论(0)
推荐(0)
2012年5月15日
PowerPoint用VBA添加背景图片
摘要: Sub test() With ActivePresentation.Slides(1) .FollowMasterBackground = False .Background.Fill.UserPicture "C:\*****\abc.PNG" E...
阅读全文
posted @ 2012-05-15 15:14 许阳 无锡
阅读(468)
评论(0)
推荐(0)
Openxml 读取指定列的数据
摘要: 在这个示例中指定"A","B","C"为需要读取的列。using System.Windows.Forms;using DocumentFormat.OpenXml.Packaging;using DocumentFormat.OpenXml.Spreadsheet;using System.Tex...
阅读全文
posted @ 2012-05-15 12:53 许阳 无锡
阅读(483)
评论(0)
推荐(0)
2012年5月11日
Tips: Runtime error 426
摘要: 引发原因:动态链接库缺失。参考文献:http://www.registryquick.net/runtime/Fix-Runtime-error-426-How-to-Fix-Runtime-error-426-29193.html
阅读全文
posted @ 2012-05-11 14:59 许阳 无锡
阅读(114)
评论(0)
推荐(0)
Tips: Excel validation 最多支持255个项目
摘要: 如题。微软官方KB: http://support.microsoft.com/kb/211485
阅读全文
posted @ 2012-05-11 14:49 许阳 无锡
阅读(113)
评论(0)
推荐(0)
2012年4月26日
关于VSTO中ReleaseComObject的问题
摘要: ReleaseComObject是托管代码中用来通知COM组件销毁COM对象释放内存的显式方法。在.NET程序中引用的COM对象在一般情况下在程序结束时会由GC回收并销毁。而ReleaseComObject可以在程序中通知GC处理销毁COM对象的工作。以我的愚见在一般在VSTO程序中没有必要使用这个...
阅读全文
posted @ 2012-04-26 15:55 许阳 无锡
阅读(129)
评论(0)
推荐(0)
2012年4月24日
免费的Html转rtf方法
摘要: Dim reportWebBrowser As New WebBrowser reportWebBrowser.CreateControl() reportWebBrowser.DocumentText = sbHTMLDoc.ToString While repor...
阅读全文
posted @ 2012-04-24 14:48 许阳 无锡
阅读(523)
评论(0)
推荐(0)
VBA 解析Color的RGB值
摘要: 在VBA中颜色是以OleColor的形式存在的,如果想要RGB的值需要经过一定的装换。代码如下:Sub ColorAlert(Color As Variant) Dim R%, G%, B% R = Color Mod 256 G = Color \ 256 Mod 256...
阅读全文
posted @ 2012-04-24 13:16 许阳 无锡
阅读(811)
评论(0)
推荐(0)
2012年4月23日
VBA 读写ini文件
摘要: 在VBA中必须通过调用Win32 API来实现Ini文件读写。Option Explicit 'read Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStrin...
阅读全文
posted @ 2012-04-23 11:12 许阳 无锡
阅读(496)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
16
下一页
公告