Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to insert Current Time into protected cell
I'm trying to create a time sheet and I want to have a macro insert the current time into a protected cell (to stop people editing the time manually) Is this possible?? Any tips/hints |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to insert Current Time into protected cell
One way is to unprotect the sheet in the code (password = ron)
ActiveSheet.Unprotect "ron" Range("C10").Value = Format(Time, "hh mm ss") ActiveSheet.Protect "ron" -- Regards Ron de Bruin http://www.rondebruin.nl wrote in message oups.com... I'm trying to create a time sheet and I want to have a macro insert the current time into a protected cell (to stop people editing the time manually) Is this possible?? Any tips/hints |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run a macro in active cell only. Want to place current date/time. | Excel Worksheet Functions | |||
Macro to Insert Current Date into cell - Macro to "Save As" | Excel Worksheet Functions | |||
how do I insert the current time (static) and date in a cell? | Excel Discussion (Misc queries) | |||
Help with Macro or VBA script - Insert current Time/Date for different records | Excel Programming | |||
how do i insert the current time into a cell, and show different . | Excel Discussion (Misc queries) |