C
curscott
I have created a program in excel where I have the sheet password protected
and there are certain cells that have ben left unlocked for user to enter
their necessary data.
My problem is if the user copies a peice of data from something outside
excel, say word, and pastes it into the cell, excel automatically is setting
that cell now to be locked. This now prohibits the user from going back to
edit data that they should have acces to. The funny thing is that if you do
any of the paste specials the cell remains unlocked.
Any ideas or ways to prevent excel from this?
I have code that is fired on the worksheet.Change event and I have traced
through my code and nothing I am doing is setting that value. as a matter of
fact I set a breakpoint on that event and stopped it before any code is
executed and look at the cell and it has already been set to locked. so it
looks like excel is doing this in the bcakground on it own.
and there are certain cells that have ben left unlocked for user to enter
their necessary data.
My problem is if the user copies a peice of data from something outside
excel, say word, and pastes it into the cell, excel automatically is setting
that cell now to be locked. This now prohibits the user from going back to
edit data that they should have acces to. The funny thing is that if you do
any of the paste specials the cell remains unlocked.
Any ideas or ways to prevent excel from this?
I have code that is fired on the worksheet.Change event and I have traced
through my code and nothing I am doing is setting that value. as a matter of
fact I set a breakpoint on that event and stopped it before any code is
executed and look at the cell and it has already been set to locked. so it
looks like excel is doing this in the bcakground on it own.