Powiadomienia
Wyczyść wszystko
BugOverflow
1
Wpisy
1
Użytkownicy
0
Reactions
2,060
Widoki
0
30/07/2015 9:19 pm
Rozpoczynający temat
VBA top/left/right/bottom cell of selection?
1 odpowiedź
0
30/07/2015 9:19 pm
Rozpoczynający temat
With Selection MsgBox "1. Top left cell = " & .Cells(1).Address(0, 0) & vbLf & _ "2. Bottom left cell = " & .Cells(.Rows.Count, 1).Address(0, 0) & vbLf & _ "3. Top right cell = " & .Cells(1, .Columns.Count).Address(0, 0) & vbLf & _ "4. Bottom right cell = " & .Cells(.Cells.Count).Address(0, 0) End With