0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[VBA]動的にセル色変更

Last updated at Posted at 2024-02-07

[VBA]動的にセル色変更

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Columns("C").Interior.ColorIndex = 0
Dim tarCell As String
tarCell = "C" & ActiveCell.Row
Range(tarCell)..Interior.ColorIndex = 35

End Sub

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?