共 11 篇文章 |
|
For k = 1 To 1000 Sheets(″Sheet1″).Select Cells(k,1).Value = Cells(1,1).ValueNext k则以下代码比上面的要快:Set TheValue = Cells(1,1).ValueSheets(″Sheet1″).SelectFor k = 1 To 1000 Cells(k,1).Value = TheValueNext k.则以下代码比上面的要快:Set TheValue = Cells(1,1).ValueSheets(″Sheet1″).SelectFor k = 1 To 1000 ... 阅843 转17 评0 公众公开 11-11-16 10:28 |
Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);GoTo(ref Bookmark, ref missing, ref missing, ref NameBookMark);EndKey(ref unit, ref ext);GoTo(ref what, ref which, ref count, ref missing);MoveRight(ref direction, ref missing, ref missing);MoveLeft(ref direction, ref missing, ref missing);MoveDown(ref direc... 阅4987 转27 评0 公众公开 11-10-31 17:30 |
namespace WordCreateDLL { public class AddTable { public static void AddSimpleTable(Application WordApp, Document WordDoc, int numrows, int numcolumns, WdLineStyle outStyle, WdLineStyle intStyle) { Object Nothing = System.Add(ref oMissing, ref oMissing, ref oMissin... 阅11987 转144 评0 公众公开 11-10-31 16:13 |