Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
how can i select a particular cell within the selected row
i.e. user clicks any cell on a line, but i need to select cell in column e in the selected row. if that makes sense!! ta, andrew. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you want to make the cell the sole selection
Private Sub Worksheet_SelectionChange(ByVal Target As Range) If not (target.count =1 and Target.column = 5) then application.EnableEvents = False cells(Target(1).Row,5).Select Application.EnableEvents = True end if End Sub right click on the sheet tab and select view code. Then put in code like the above in the resulting module. See Chip Pearson's page on Events if you are are not familiar with them: http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "westg" wrote in message ... how can i select a particular cell within the selected row i.e. user clicks any cell on a line, but i need to select cell in column e in the selected row. if that makes sense!! ta, andrew. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Row select mode to highlight active row of active cell | Excel Discussion (Misc queries) | |||
set the background color of the current cell(active cell) | New Users to Excel | |||
referring to formula in a non active cell from active cell | Excel Discussion (Misc queries) | |||
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. | Excel Discussion (Misc queries) | |||
Select First Active Cell if the cell is in a pivot table | Excel Programming |