+ Reply to Thread
Results 1 to 2 of 2

Macro to insert Current Time into protected cell

  1. #1

    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. #2
    Ron de Bruin
    Guest

    Re: 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


    <[email protected]> wrote in message news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1