Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Detecting row delete/insert

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Detecting row delete/insert

Try this:
http://www.dailydoseofexcel.com/arch...-deleted-rows/

NickHK

"Thrash" wrote in message
...
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
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
Insert name - delete all yshridhar Excel Discussion (Misc queries) 3 April 23rd 08 11:19 AM
Insert and delete rows leonidas[_22_] Excel Programming 2 June 26th 06 12:21 PM
Insert/delete rows JohnUK Excel Programming 3 September 28th 05 12:55 PM
Row/Column Insert/Delete Von Shean Excel Programming 1 January 21st 04 10:09 AM
How to detect an insert/delete? Dave Peterson[_3_] Excel Programming 0 September 12th 03 03:38 AM


All times are GMT +1. The time now is 06:11 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"