+ Reply to Thread
Results 1 to 2 of 2

as per modification time stamp

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post as per modification time stamp

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Cells.Count > 1 Then Exit Sub
    If Not Intersect(Target, Range("B4:B15")) Is Nothing Then
    With Target(1, 16)
    .Value = Time
    .EntireColumn.AutoFit
    End With
    End If
    End Sub

    what above macro doing is if i enter values to b4 to b16 any cells that cells data entering time add to column Q4 to Q16. my requirement is i want to add another 2 columns to this code as per bellow. pld help me to edit this macro..

    if number enter values to B4:B16 time should add to Q4:Q16
    if number enter values to C4:C16 time should add to R4:R16
    if number enter values to D4:D16 time should add to S4:S16

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: as per modification time stamp

    this will work for B4:D16:
    Please Login or Register  to view this content.
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

+ 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