I have a very simple code that capitalizes a call on a double click:
But sometimes, there are many fields in the column that I would like to capitalize, and in that case I would like to have a feature to double click the column itself (one of those "A", "B" etc cells that select the whole column), to capitalize all cells in this particular column.
The function BeforeDoubleClick doesn't seem to receive events from those column cells... is there some workaround for this?
Also, is there some function to capitalize the cells that are selected by click+drag?
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
ActiveCell.Value = UCase(ActiveCell.Value)
End Sub
But sometimes, there are many fields in the column that I would like to capitalize, and in that case I would like to have a feature to double click the column itself (one of those "A", "B" etc cells that select the whole column), to capitalize all cells in this particular column.
The function BeforeDoubleClick doesn't seem to receive events from those column cells... is there some workaround for this?
Also, is there some function to capitalize the cells that are selected by click+drag?