摘要:
OFFICE 2007采用的Ribbon的概念,所以以前的commandbar().visible的方法在2007中是行不通的。VBA中的语句如下:1 application.ExecuteExcel4Macro "show.toolbar(""ribbon"",false)"VSTO中的代码如下Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 privatevoid button 阅读全文
posted @ 2012-06-15 14:10
Ruiky
阅读(1068)
评论(2)
推荐(0)
摘要:
1 [DllImport("user32.dll", EntryPoint = "MoveWindow")] 2 static extern bool MoveWindow( 3 int Wnd, 4 int X, 5 int Y, 6 int Width, 7 int Height, 8 bool Repaint 9 );10 [DllImport("user32.dll")]11 ... 阅读全文
posted @ 2012-06-15 12:22
Ruiky
阅读(1730)
评论(0)
推荐(0)