Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Can you trap the Delete event?

If I could trap the delete function (Entire Row), I would be able to control
which Rows the user have delete permissions on.
Does Excel have the capability to trap the Delete event?

Thanks,
- Pat
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Can you trap the Delete event?

have a look at

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

only other way i can think of might be to use the change event

hth

Keith

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Can you trap the Delete event?

Are you talking about truely deleting the rows or just clearing the contents
of a row? There is a big difference.
--
HTH...

Jim Thomlinson


"Dreiding" wrote:

If I could trap the delete function (Entire Row), I would be able to control
which Rows the user have delete permissions on.
Does Excel have the capability to trap the Delete event?

Thanks,
- Pat

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Can you trap the Delete event?

Yes, I'm concerned with physical row deletion, not cell clearing.
The link Keith74 shows me a way.
However it doesn't cover all the methods of row deletion.
I can still right click on a cell, select Delete..., then EntireRow without
the event being triggered.

I have not figured out how to get the ID for this event.

"Jim Thomlinson" wrote:

Are you talking about truely deleting the rows or just clearing the contents
of a row? There is a big difference.
--
HTH...

Jim Thomlinson


"Dreiding" wrote:

If I could trap the delete function (Entire Row), I would be able to control
which Rows the user have delete permissions on.
Does Excel have the capability to trap the Delete event?

Thanks,
- Pat

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Can you trap the Delete event?

Have a look at the comment posted by Brad Yundt on the link. That
looks like it does what you want plus it traps the event you describe.

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
Trap show toolbar event [email protected] Links and Linking in Excel 0 April 27th 07 04:16 PM
Trap the Send-To event Otto Moehrbach Excel Programming 2 March 18th 07 12:53 AM
How to trap the worksheet_BeforeDeactivate event? OKLover[_2_] Excel Programming 1 July 12th 05 10:34 AM
How to trap delete row event and hide column event? Alan Excel Programming 3 April 26th 05 04:25 PM
how to trap a event coming from a dll E.Anderegg Excel Programming 6 October 16th 03 01:53 PM


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