View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kim-Anh Tran[_6_] Kim-Anh Tran[_6_] is offline
external usenet poster
 
Posts: 1
Default Set value for range of cells!

How do I change this to set target range for rows from 46:54?
I appreciate any help!
Kim-Anh

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row = 46 And Target.Column = 20 Then
Select Case Target.Formula
Case "x"
'allow this
Case ""
'allow this
Case Else
'reset to nothing
Target.Formula = ""
End Select
End If
End Su

--
Message posted from http://www.ExcelForum.com