VBA 選択範囲の任意の列のRange(R1C1)を取得

Quick Edit Pencil
Debug.Print ConvertToLetter(Selection.Column) & Selection.Row & ":" & _ConvertToLetter(Selection.Column) & Selection.Rows(Selection.Rows.Count).Row
        
Debug.Print Range(Cells(Selection.Row, 2), Cells(Selection.Rows(Selection.Rows.Count).Row, 2)).Address
        
Debug.Print Selection.Columns(2).Address

このブログの人気の投稿

AutoHotkey+powershell タスクバーをバーを自動的に隠すショートカット

WP: 投稿一覧にカスタム分類・タクソノミーのカラムを追加する

AppleScriptとターミナルでJavaScriptを使う

Windows 10で、Explorerのナビゲーション ウィンドウの表示/非表示を、キーボードショートカットで切り替える方法

書字方向 横書方向変換スクリプト 左書きから右書きへ(コピペ用途)

Windows10でアプリケーションごとに輝度を設定、自動で変更する - AutoHotkey

AppleScript 改行 コード 置換