iEhohs DokuWiki

よく使いそうなネタをまとめておく個人的ナレッジです。

ユーザ用ツール

サイト用ツール


excel:highlight-selection-cell

選択された行と列をハイライト表示する

ThisWorkbookに記述

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
    Application.ScreenUpdating = True
End Sub

ハイライトしたいセル範囲の条件付き書式に設定

=OR(CELL("ROW")=ROW(), CELL("COL")=COLUMN())
excel/highlight-selection-cell.txt · 最終更新: by shimehitsu14