Results 1 to 9 of 9

Auto date & Time

Threaded View

monika_s Auto date & Time 10-02-2012, 06:47 PM
FDibbins Re: Auto date & Time 10-02-2012, 09:43 PM
monika_s Re: Auto date & Time 10-03-2012, 02:48 AM
Armando Montes Re: Auto date & Time 10-03-2012, 11:34 AM
FDibbins Re: Auto date & Time 10-03-2012, 11:37 AM
rchesterton Re: Auto date & Time 10-03-2012, 11:52 AM
FDibbins Re: Auto date & Time 10-03-2012, 01:21 PM
rchesterton Re: Auto date & Time 10-03-2012, 02:12 PM
FDibbins Re: Auto date & Time 10-04-2012, 11:58 AM
  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    Harrogate, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Auto date & Time

    Hi, I'm new on here and new to VBA. I am trying to set up a spreadsheet which automatically puts the current date and time into a particular column when another cell on that row is completed. I found some coding that someone had come up with but although it was working beautifully since saving the spreadsheet and closing it it now isn't working. What am I doing wrong? I have saved it as a macro enabled spreadsheet and the coding reads as follows:

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Target.Row > 1 Then Cells(Target.Row, "D") = Now()
    End Sub
    All help very welcome
    thanks
    Last edited by vlady; 10-02-2012 at 08:20 PM. Reason: Use code tags on codes

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