Prevent to insert new columns into excel sheet

Hi,
I need to send this protected sheet to other user. That user should be able to add data validation. I am not able to share my password with them.
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
One option, as I said, is that you recover the file, insert the validation and return the file to the user.
Another option is to add the validation using a macro, but you must create a macro for each validation possibility; or create a macro for some validation.
 
Upvote 0
Hi DanteAmor,
I needs to do the following with data sheet.
- User should not be able to add new columns or delete columns from the sheet.
- But, user should be able to add data validations for drop down menus.
Ex: Designation
Under designation column, user should be able to add data validation list by selecting set of designations from another sheet.

Could you please help me to resolve this issue.
 
Upvote 0
I understand that, you want to have the protected sheet and insert validations, but it is not possible.
The idea is to create a macro with the following steps:- Check out the sheet
- Insert a validation
- Protect the sheet.
 
Upvote 0
I understand that, you want to have the protected sheet and insert validations, but it is not possible.
The idea is to create a macro with the following steps:- Check out the sheet
- Insert a validation
- Protect the sheet.


Hi,
Thanks. Highly appreciate if I can get VBA code to prevent insert/delete columns.
 
Upvote 0
To avoid inserting rows or columns you must follow what I indicated in post #2
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top