Apr 15, 2001 #1 GSMike Programmer Feb 7, 2001 143 US Is there a way to return this? If there is one cell selected, I want "1"; if two are selected, I want "2". I was trying Code: Activesheet.range.select Any ideas? Thank you. Mike Kemp
Is there a way to return this? If there is one cell selected, I want "1"; if two are selected, I want "2". I was trying Code: Activesheet.range.select Any ideas? Thank you. Mike Kemp
Apr 16, 2001 #2 JVFriederick IS-IT--Management Mar 19, 2001 517 US This might help (even though it's the reverse of what you were looking for) Set CellCount = Application.InputBox("Highlight a range ", Type:=8) MsgBox CellCount.Cells.Count Upvote 0 Downvote
This might help (even though it's the reverse of what you were looking for) Set CellCount = Application.InputBox("Highlight a range ", Type:=8) MsgBox CellCount.Cells.Count