Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Preventing partial row deletions to avoid row data shifts

Anyone have any ideas on presenting a user with a msgbox or form if a
single cell or range that is not an entire row is deleted and cell
shifted either up or left?

I've seen the question posed a few times in google for all excel
groups, but have not found any answers. Microsoft's site didn't yield
anything either.

I have some code that checks the integrity of the last row of
populated cells to see if the row number is the same and prevents a
save of the application if the row numbers are skewed, but I'd rather
stop any data shifts from happening with a message to the user that
deleting small portions of a row is not allowed and then cancel their
action if that is possible.

I've toyed with the idea of intercepting the built in dialog asking
whether to shift the cell up or left, (xlDialogDataDelete??), but
haven't been able to find much on that.

Any help would be appreciated.

Dave Freidel
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
How do I set up a spsht to allow adding data only - no deletions Weycotlm Excel Discussion (Misc queries) 0 July 16th 08 07:10 PM
Sorting data on a worksheet for different users (shifts) Ron Zack Excel Discussion (Misc queries) 4 November 9th 07 10:35 PM
Preventing Data Import eileenj Excel Discussion (Misc queries) 0 August 9th 06 03:50 AM
Preventing duplicate data tillytee1 Excel Discussion (Misc queries) 2 March 20th 06 03:49 PM
Data Form Deletions CyberTaz Excel Discussion (Misc queries) 1 April 26th 05 01:25 PM


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