+ Reply to Thread
Results 1 to 5 of 5

Date Stamp at a tap

  1. #1
    Registered User
    Join Date
    12-07-2005
    Location
    Halifax NS
    Posts
    1

    Question Date Stamp at a tap

    I don't know if Excel has this functionality. What I am trying to do is to have Excel place a time stamp as part of a log. This is to be transfereable to my palm TREO through "Doc's To Go". Data entry on a Palm can be tough at times.
    I'd just like to tap the cell and get the current time stamp. and not to have it update or change. This is to be just a log date and time. There could be upwards of 150 of these on a sheet, all different.
    I've tried =now(). This really just gives me a date and time and will change with my computers clock.
    Hope some of you Guru's can help.

    Thanks

  2. #2
    Bob Phillips
    Guest

    Re: Date Stamp at a tap

    Ctrl-; does that for you.

    Or you could try event code

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
    Boolean)
    Target.Value = Format(Date, "dd mmm yyyy")
    Target.Offset(0, 1).Select
    End Sub

    'This is worksheet event code, which means that it needs to be
    'placed in the appropriate worksheet code module, not a standard
    'code module. To do this, right-click on the sheet tab, select
    'the View Code option from the menu, and paste the code in.


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "s6guy1" <s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com> wrote in
    message news:s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com...
    >
    > I don't know if Excel has this functionality. What I am trying to do is
    > to have Excel place a time stamp as part of a log. This is to be
    > transfereable to my palm TREO through "Doc's To Go". Data entry on a
    > Palm can be tough at times.
    > I'd just like to tap the cell and get the current time stamp. and not
    > to have it update or change. This is to be just a log date and time.
    > There could be upwards of 150 of these on a sheet, all different.
    > I've tried =now(). This really just gives me a date and time and will
    > change with my computers clock.
    > Hope some of you Guru's can help.
    >
    > Thanks
    >
    >
    > --
    > s6guy1
    > ------------------------------------------------------------------------
    > s6guy1's Profile:

    http://www.excelforum.com/member.php...o&userid=29441
    > View this thread: http://www.excelforum.com/showthread...hreadid=491485
    >




  3. #3
    JE McGimpsey
    Guest

    Re: Date Stamp at a tap

    If you want to automate XL to add the time stamp whenever your data is
    entered, take a look here:

    http://www.mcgimpsey.com/excel/timestamp.html

    In article <s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com>,
    s6guy1 <s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com> wrote:

    > I don't know if Excel has this functionality. What I am trying to do is
    > to have Excel place a time stamp as part of a log. This is to be
    > transfereable to my palm TREO through "Doc's To Go". Data entry on a
    > Palm can be tough at times.
    > I'd just like to tap the cell and get the current time stamp. and not
    > to have it update or change. This is to be just a log date and time.
    > There could be upwards of 150 of these on a sheet, all different.
    > I've tried =now(). This really just gives me a date and time and will
    > change with my computers clock.
    > Hope some of you Guru's can help.
    >
    > Thanks


  4. #4
    Danny@Kendal
    Guest

    Re: Date Stamp at a tap

    "s6guy1" <s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com> wrote in
    message news:s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com...
    >
    > I don't know if Excel has this functionality. What I am trying to do is
    > to have Excel place a time stamp as part of a log. This is to be
    > transfereable to my palm TREO through "Doc's To Go". Data entry on a
    > Palm can be tough at times.
    > I'd just like to tap the cell and get the current time stamp. and not
    > to have it update or change.


    CTRL ; (enters the date)
    followed by
    SPACE
    followed by
    CTRL : (enters the time)

    A quick browse through the help files doesn't seem to list anything which
    inserts the date AND time in one go. There should be a way to insert the
    current date/time into the current cell with a macro and then assign a
    keyboard shortcut to it.



  5. #5
    Danny@Kendal
    Guest

    Re: Date Stamp at a tap

    "Danny@Kendal" <danny@removethisbit.ghpkendal.co.uk> wrote in message
    news:ReKdnSGYBcIWjgrenZ2dnUVZ8qGdnZ2d@eclipse.net.uk...
    > "s6guy1" <s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com> wrote in
    > message news:s6guy1.1zofpb_1133970607.3477@excelforum-nospam.com...
    >>
    >> I don't know if Excel has this functionality. What I am trying to do is
    >> to have Excel place a time stamp as part of a log. This is to be
    >> transfereable to my palm TREO through "Doc's To Go". Data entry on a
    >> Palm can be tough at times.
    >> I'd just like to tap the cell and get the current time stamp. and not
    >> to have it update or change.

    >
    > CTRL ; (enters the date)
    > followed by
    > SPACE
    > followed by
    > CTRL : (enters the time)
    >
    > A quick browse through the help files doesn't seem to list anything which
    > inserts the date AND time in one go. There should be a way to insert the
    > current date/time into the current cell with a macro and then assign a
    > keyboard shortcut to it.


    Ah! Just found it.

    Create the following as a macro

    Sub insertDateTime()
    ActiveCell.Value = Now()
    End Sub

    Then select it from your list of macros, choose 'options' and assign a
    keyboard shortcut.

    I've just tried it and it seems to work.



+ 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