'목록하단 광고 치환자(withSeok)
728x90
두 셀을 선택하여 서로 값을 맞바꿈

 

첨부파일

두 셀 값 서로 바꾸기 VBA코드.txt
0.00MB

1
2
3
4
5
6
7
8
9
10
11
12
Sub Selection_Exchange()
 
   With Selection
        If .Areas.Count = 2 Then
            DimV
            V = .Areas(1).Value
            .Areas(1).Value = .Areas(2).Value
            .Areas(2).Value = V
        End If
    EndWith
    
End Sub
cs

 

 

728x90

+ Recent posts