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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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