Lock certain fields, but allow new records to be added via CSV import

brncao

Board Regular
Joined
Apr 28, 2015
Messages
149
I would like to know if it's possible to lock certain fields (not the entire table) from being accidentely edited, but allow new records to be added via CSV import. Is this possible?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I'm going to say no, but then I haven't learned anything new today yet.:biggrin:
AFAIK, your goal became impossible when you mentioned CSV import. You can "lock" fields if all data edits are via form based controls only. However, if you expose the table via an updatable query or datasheet or if the user can open the table directly, it is completely exposed.
 
Upvote 0
I would like to know if it's possible to lock certain fields (not the entire table) from being accidentely edited, but allow new records to be added via CSV import. Is this possible?

Yes it is possible to do if you use a form.

I do what you want all the time with great success.

You can set the text box property for locked to yes. This does not lock the table. You will need to make sure that you lock down the database so that the users can get to the tables. Splitting the datasbe will make this a lot easier.
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,419
Members
451,765
Latest member
craigvan888

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