R
Roger on Excel
I have a table in Excel with a date/time column and a comment column.
I would like to select a cell in the date/time column and then push a button
which enters the current date and time into that cell. I would then like to
make it so that the cell is locked so that the the user cannot change the
cell again without entering a password. The date/time would then be
preserved next to when the comment is entered.
Ideally once the date/time is entered, upon selecting the same cell again,
the cell would call up the password dialog box to enter a password to unlock
the cell so that a new date/time could be entered if desired.
The code would be able to determine if the cell is locked for editing when
it is selected.
Sounds complicated...
Can anyone help?
Best regards, Roger
I would like to select a cell in the date/time column and then push a button
which enters the current date and time into that cell. I would then like to
make it so that the cell is locked so that the the user cannot change the
cell again without entering a password. The date/time would then be
preserved next to when the comment is entered.
Ideally once the date/time is entered, upon selecting the same cell again,
the cell would call up the password dialog box to enter a password to unlock
the cell so that a new date/time could be entered if desired.
The code would be able to determine if the cell is locked for editing when
it is selected.
Sounds complicated...
Can anyone help?
Best regards, Roger