PC Review


Reply
Thread Tools Rate Thread

After Insert

 
 
Steven
Guest
Posts: n/a
 
      9th Sep 2008
Is there a way to tell when a line insert occured. I do not see an
AfterInsert routine.

Thank you,

Steven.
 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      9th Sep 2008
You could probably find it with a worksheet_change event and look for

Target.Columns.Count = ME.Columns.Count

--
HTH,
Barb Reinhardt




"Steven" wrote:

> Is there a way to tell when a line insert occured. I do not see an
> AfterInsert routine.
>
> Thank you,
>
> Steven.

 
Reply With Quote
 
Matthew Norman
Guest
Posts: n/a
 
      9th Sep 2008
I used the following within the Worksheet_Change event

If Target.Address = Target.EntireRow.Address then

'Row has been inserted or deleted


End if
 
Reply With Quote
 
Steven
Guest
Posts: n/a
 
      9th Sep 2008
Those are nice. Thank you. What I want to do is specifically catch the
insert. Is there a way do that?

Thanks again.

"Matthew Norman" wrote:

> I used the following within the Worksheet_Change event
>
> If Target.Address = Target.EntireRow.Address then
>
> 'Row has been inserted or deleted
>
>
> End if
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the Insert key to switch between insert & overwrite mode invarious Word reversions SlickRCBD Microsoft Word New Users 13 9th Jan 2010 02:06 AM
Mail Merge - Insert Address Block - Insert Country VistaNewbie Microsoft Outlook Discussion 4 9th Dec 2009 03:51 PM
Detailsview loses insert mode contents when Insert fails... cannontrodder Microsoft ASP .NET 1 25th Jul 2006 09:38 AM
Insert cell/format/text/fontsize and auto insert into header? =?Utf-8?B?VW5mdXJsdGhlZmxhZw==?= Microsoft Excel Programming 2 3rd Nov 2004 05:39 PM
Insert | File > Attachmnet-Button Drop Down ;What is the difference between Insert and Insert As Attachmnet Oda Yujiro Microsoft Outlook 4 17th Jun 2004 01:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 AM.