View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mika. mika. is offline
external usenet poster
 
Posts: 13
Default using VBA to go back to the original value before the cell was changed

I am trying to use VBA to do the following:

if there's a change to the worksheet,
if a cell is green
don't allow the change; go back to the original
value before the cell was changed.
else (cell is not green)
allo change

my problem is the "go back to the original value before
the cell was changed." any ideas how i might go about this?

i would just lock the fields and protect the sheet, but
the workbook is shared and i don't want to protect the
sheet in the shared workbook because then i can't insert
rows without unprotecting the workbook, etc.

thanks.