PC Review


Reply
Thread Tools Rate Thread

Detecting row delete/insert

 
 
=?Utf-8?B?VGhyYXNo?=
Guest
Posts: n/a
 
      5th Jan 2007
I need to detect when a user inserts or deletes a row. I can sense a change
in the "selection_Change" triggered macro - and can see that a selection is 1
(or more) rows by 256 columns (so the entire row or rows) -
But I can't figure out to tell that the user is deleting or inserting a row.

I can disable these functions via protect and give him separate macros for
inserting/deleting rows - but it would be easier for the users if they could
just right click like they are used to.

I was thinking I could just modify the drop down menu and also replace the
insert/delete row built-in functions - but it would be better if I could just
sense when a user was using these functions in the trigger macro.

Any suggestions?
 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      5th Jan 2007
Try this:
http://www.dailydoseofexcel.com/arch...-deleted-rows/

NickHK

"Thrash" <(E-Mail Removed)> wrote in message
news:2BD85342-E1F4-4C5E-8D78-(E-Mail Removed)...
> I need to detect when a user inserts or deletes a row. I can sense a

change
> in the "selection_Change" triggered macro - and can see that a selection

is 1
> (or more) rows by 256 columns (so the entire row or rows) -
> But I can't figure out to tell that the user is deleting or inserting a

row.
>
> I can disable these functions via protect and give him separate macros for
> inserting/deleting rows - but it would be easier for the users if they

could
> just right click like they are used to.
>
> I was thinking I could just modify the drop down menu and also replace the
> insert/delete row built-in functions - but it would be better if I could

just
> sense when a user was using these functions in the trigger macro.
>
> Any suggestions?



 
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
Insert name - delete all yshridhar Microsoft Excel Misc 3 23rd Apr 2008 11:19 AM
Detecting duplicate INSERT? =?Utf-8?B?bXNjZXJ0aWZpZWQ=?= Microsoft Access Form Coding 1 10th May 2007 04:47 PM
Detecting when the delete key is pressed =?Utf-8?B?QXVzdGluIFQ=?= Microsoft VB .NET 2 14th Apr 2004 12:51 PM
Detecting if data exists on "Insert Into" and changing the value in field if exists! Les Microsoft Access Form Coding 2 8th Apr 2004 11:38 AM
Cannot do insert and delete alan Microsoft VB .NET 1 28th Oct 2003 07:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.