Thread
:
Inserting Rows during a SheetChange event
View Single Post
#
1
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
Inserting Rows during a SheetChange event
glad to help
--
Don Guillett
SalesAid Software
"Nirmal Singh" wrote in
message ...
On Thu, 6 Jan 2005 13:12:50 -0600, "Don Guillett"
wrote:
try this
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.row < 9 Or Target.Column < 1 Then Exit Sub
With Target
.Offset(0, 1) = "a"
.Offset(0, 2) = "b"
.EntireRow.Insert
End With
End Sub
Thanks Don, that is exactly what I needed.
Nirmal
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]