2012-09-01から1ヶ月間の記事一覧
手順 WordでC:\\test.docというドキュメントを作成する。 test.docの任意の場所を選択し、[挿入(I)]-[ブックマーク(K)]を選択する。 ブックマーク名に「myitem」と入力して[追加(A)]を押す。 Excelを開く。 任意のセルを選択し、「=Word.Document|'C:\\test.…
ネタ元 http://iwaoalles.wordpress.com/2010/05/07/mfc-%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%8F%E3%83%B3%E3%83%89%E3%83%A9%E3%81%AE%E7%99%BB%E9%8C%B2/
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) StartRow = Target.Cells(1).Row StartColumn = Target.Cells(1).Column Max_Row = Target.Cells(Target.Count).Row Max_Column = Target.Cells(Target.Count).Column End Sub…
Option Explicit Sub TEST14() ' 最終セルを表示 MsgBox ActiveSheet.Cells.SpecialCells(xlLastCell).Address End Subネタ元 http://www.asahi-net.or.jp/~ef2o-inue/vba_o/sub05_030_100.html
単一のセルB3を選択します。 Sub rei806() Worksheets("Sheet1").Activate Cells(3, 2).Select End Sub セル範囲A1:B3を選択します。 Sub rei807() Worksheets("Sheet1").Activate Range(Cells(1, 1), Cells(3, 2)).Select End Subネタ元 http://www.eurus.d…
StartRow = LoopArea.Cells(1).Row StartColumn = LoopArea.Cells(1).Column Max_Row = LoopArea.Cells(LoopArea.Count).Row Max_Column = LoopArea.Cells(LoopArea.Count).Columnネタ元 http://www.k1simplify.com/vba/tipsleaf/leaf240.html
http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=43441&forum=7 http://msdn.microsoft.com/ja-jp/library/8c47csfz(v=vs.80).aspx http://eternalwindows.jp/ole/oleembedded/oleembedded06.html
char tmpWorkbookName[256]; int len; size_t ReturnValue; setlocale( LC_CTYPE, "Japanese_Japan.932" ); // コードページ 932 (SJIS) len = wcstombs_s( &ReturnValue,tmpWorkbookName, sWorkbookName.GetBuffer(0), 256 );
マクロ実行しているシート名を知りたかったんだけど、どこにも情報なくて困った
http://www.gizmodo.jp/2012/09/post_10815.html?utm_source=atom&utm_medium=rss
自分がどの位置のセルから呼ばれているのかが分かる。ActiveCellだと、なにかの拍子でカーソルが移動してしまった先の位置になっちゃう。 Application.ThisCell.Row Application.ThisCell.Column ネタ元 http://xls.seesaa.net/article/123622158.html
これは盲点Apple ハイビジョン対応 Apple TV MD199J/A新品価格¥8,400から(2012/9/1 19:53時点)