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: 2
Default How to prevent deleting certain rows

Hello experts,


I want to avoid that my users delete certain rows, because they contain
hidden information.
When they delete these rows the functionality will be disturbed.

They are allowed to make others changes in the cells of these rows, just not
to delete the whole row.

I try to find a way to detect this with VBA code and then show a message.
Did some examinations on the Worksheet.Change event, but still have no clue.
It would be good already if it was possible to detect that one or several of
the "forbidden" rows are selected (as whole rows) before deleting them.

Hope you can help, it is very important for me.


Thanks in advance,

Ed van Wijngaarden


 
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
Prevent deleting functions JKeef Excel Discussion (Misc queries) 6 September 10th 08 12:06 PM
Prevent deleting multiple cells at once Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 2 October 12th 07 03:20 PM
How can I prevent someone from deleting a shared workbook? Brian Excel Worksheet Functions 2 May 19th 06 02:49 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM
How do I prevent someone from deleting a workbook? JSP Excel Discussion (Misc queries) 5 September 5th 05 04:51 PM


All times are GMT +1. The time now is 11:22 AM.

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

About Us

"It's about Microsoft Excel"