G
Guest
Guest
I want what to make sure the text in column E is caps how can this be done? Thanks
On 2002-02-27 15:53, Anonymous wrote:
<<<
Correction. Better make that :-
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng1 As Range, rng2 As Range, cell As Range
Application.EnableEvents = False
If Not Intersect(Selection, Columns(5)) Is Nothing Then
Set rng1 = Intersect(Selection, Columns(5))
Set rng2 = Intersect(ActiveSheet.UsedRange, rng1)
For Each cell In rng2
If cell.Formula <> "" Then
cell.Formula = Format(cell.Formula, ">")
End If
Next cell
End If
Application.EnableEvents = True
End Sub
>>>
Setting rng1 as the intersection of "selection" and the affected column has an unexpected result - it only affects the cell below the changed cell. By setting rng1 = columns (x) you won't miss any cells.
On 2002-02-27 17:09, Anonymous wrote:
Still want work
On 2002-02-27 19:43, Anonymous wrote:
Ran the code first still want work