Thread
:
pick last item from a (variable) range
View Single Post
#
2
Posted to microsoft.public.excel.programming
excel-ant
external usenet poster
Posts: 26
pick last item from a (variable) range
How do you mean pick
This piece of code will store and display the last cell in a selected
range(x)
Sub LastCell()
For Each cell In Selection
cell.Select: x = ActiveCell.Value
Next cell
MsgBox x
End Sub
http://www.excel-ant.co.uk
Reply With Quote
excel-ant
View Public Profile
Find all posts by excel-ant