I want to prevent users from entering data into a column. but if they want to delete a row it should be allowed. How can i do this?
I want to prevent users from entering data into a column. but if they want to delete a row it should be allowed. How can i do this?
Maybe you can try such Code
Please Login or Register to view this content.
No VBA required, if you want to avoid it. Lock the cells of the column, unlock the cells you want to remain editable and then click the Review ribbon - Protect Sheet - tick the "Delete rows" option.
U can also set data validation. Select entire column, go to data > validation. select custom from Allow drop-down. type ="" in formula field
Thus, u can prevent entering any data in column, but allow to delete entire row.
hi Teylyn. I didn't check, but I dont believe your suggection would work...
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, ?Born in USSR?
Vusal M Dadashev
Baku, Azerbaijan
caught me out there, V. You're right. Thanks for pointing it out.
hi thanks its working very well.
Wanted to know if you can also help me with the following:
I want to prevent users from entering characters in number fields, and entering incorrect date in date field. the date entered should be converted to DD-MON-YYYY format.
Last edited by teylyn; 02-04-2010 at 03:42 AM. Reason: link spamming - not relevant to thread
singhabhijitkumar,
please refrain from posting links to web sites that have no relevance to the nature of your thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks