LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Worksheet_Change for Row Insert

Hi,

I have a named range which includes about 6columns and 6 rows. When a user
inserts a row within the named range, I need a SUMIF formula to be added in
the last column of the inserted row. I've pasted my current Worksheet_Change
Sub routine below, but I'm not too sure how to amend it so the code that I
currently have still works and the macro will also add the SUMIF formula when
the row is inserted.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim FilteredClients As Range
If Not Intersect(Target, Target.Worksheet.Range("ClientCells")) Is
Nothing Then
ThisWorkbook.PopulateValidationLists
End If
End Sub


Help is greatly appreciated. Thanks.
Simon
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet_Change okrob Excel Programming 5 May 9th 07 03:51 PM
Worksheet_Change scrimmy Excel Programming 3 April 23rd 07 06:40 PM
worksheet_change vs. calculate, and worksheet_change not running Tom Ogilvy Excel Programming 1 July 14th 03 02:51 AM
worksheet_change vs. calculate, and worksheet_change not running Ross[_5_] Excel Programming 0 July 13th 03 04:27 PM


All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"