View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Run a macro in active cell only. Want to place current date/time.

Sub GateIN()
ActiveCell.value = Now
End sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"time clock watcher" wrote:

Would like to make a Gate sign in sheet with a macro named ("GateIN") that
will return the current date/time in the active cell only. When the same
macro is run in an other cell I'd like the later current time to be entered
but leave the previous cell un-touched.