advanced help
per page, with , order by , clip by
Results of 1 - 1 of about 71 for ExecuteExcel4Macro 閉じた|開いて|開かず (0.012 sec.)
executeexcel4macro (140), 閉じた (629), 開いて (4904), 開かず (263)
[[20090402151812]]
#score: 14119
@digest: 1c3dc69158c379d84dedecf3021cf5e7
@id: 42763
@mdate: 2009-04-02T23:19:32Z
@size: 1025
@type: text/plain
#keywords: shut (3899), executeexcel4macro (3583), comment (1646), book1 (1378), 得出 (1373), 面表 (1126), screenupdating (1078), savechanges (971), r1c1 (845), workbooks (774), 取得 (765), ーデ (592), フル (541), ルパ (456), 開か (440), 構文 (415), 得で (401), コメ (357), application (350), トロ (324), ブッ (311), 御座 (310), ディ (282), msgbox (271), ィン (266), メン (263), パス (236), ング (227), ント (222), xls (192), 画面 (181), 記述 (175)
『ブックを開かないでコメントを取得』(shut)
ブックを開かないでセルの値を取得するのは、 MsgBox ExecuteExcel4Macro("'C:¥[Book1.xls]Sheet1'!R1C1") ですが、そのセルのコメントって取得出来ませんか? ---- ExecuteExcel4Macroをどうしても使いたいということですか? 開いたブックなら、次の構文で取得できます。 MsgBox Application.ExecuteExcel4Macro("GET.NOTE(""'[Book1.xls]Sheet1'!R1C1"")") 閉じていると、フルパスでも取得できないかもしれません。 少なくとも、できる、という記述は見つかりませんでした。 ScreenUpdatingで画面表示をコントロールして、 開いて開いていないかのように見せかけた方が扱いやすいコーディングになる ような気はします。 Application.ScreenUpdating = False Workbooks.Open "C:¥Book1.xls" MsgBox Workbooks("book1.xls").Worksheets("Sheet1").Cells(1, 1).Comment.Text Workbooks("Book1.xls").Close SaveChanges:=False Application.ScreenUpdating = True (みやほりん)(-_∂)b ---- みやほりんさん有り難う御座います。(shut) ScreenUpdating使った事がありませんので、試してみます。 ...
https://www.excel.studio-kazu.jp/wiki/kazuwiki/200904/20090402151812.txt - [detail] - similar
PREV NEXT
Powered by Hyper Estraier 1.4.13, with 97056 documents and 608292 words.

訪問者:カウンタValid HTML 4.01 Transitional