Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unselecting cells

Status
Not open for further replies.

atray04

Programmer
Dec 29, 2003
112
US
I have selected a range of cells, but when I open the workbook the cells are still selected. I tried to find a deselect method, but I could not find one in the help files. Does anyone know of a way that I can do this?
 
this is what the vba help files said
Cancel a selection of cells
To cancel a selection of cells, click any cell on the worksheet.

Would I have to write code for a mouse click in order to do this?

 

You just have to write code to select another cell:

Code:
Sub Select_Deselect()
Range("A10:B50").Select ' Select a range
Range("A1").Select ' Select a New Range
End Sub

;-)


Peace!! [peace]

Mike

Didn't get the answers that you wanted? Take a look at FAQ219-2884
 
Glad it helped!

You might also want to read through as many of ht FAQ's in the FAQ section of this forum.



Peace!! [peace]

Mike

Didn't get the answers that you wanted? Take a look at FAQ219-2884
 
I did look over the faqs to see if there was anything that applys to what I am working on and I did not find much in there. I think I am almost done, this project is turning out to be bigger than I thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top