티스토리 뷰
Visual Basic 코드(컬러 색상은 비슷한 번호가 없어서 20으로 설정해 보았습니다)
Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
'Update 20200430
Static xRow
Static xColumn
If xColumn <> "" Then
With Columns(xColumn).Interior
.ColorIndex = xlNone
End With
With Rows(xRow).Interior
.ColorIndex = xlNone
End With
End If
pRow = Selection.Row
pColumn = Selection.Column
xRow = pRow
xColumn = pColumn
With Columns(pColumn).Interior
.ColorIndex = 20
.Pattern = xlSolid
End With
With Rows(pRow).Interior
.ColorIndex = 20
.Pattern = xlSolid
End With
End Sub
'컴퓨터 팁' 카테고리의 다른 글
Ventoy 1.0.56 10/22 (0) | 2021.10.23 |
---|---|
Ventoy 1.0.54 (10/12) (0) | 2021.10.13 |
KB5005565 오류를 수정하는 방법? 자세한 내용은 여기! (0) | 2021.09.16 |
Ventoy 1.0.52 업데이트 (0) | 2021.09.14 |
KakaoTalk V3.3.3.2911 Portable (0) | 2021.09.10 |