+ Reply to Thread
Results 1 to 2 of 2

record the data and add

Hybrid View

kaka record the data and add 03-05-2008, 08:37 PM
Simon Lloyd Private Sub... 03-06-2008, 09:25 AM
  1. #1
    Registered User
    Join Date
    03-05-2008
    Posts
    1

    record the data and add

    I am trying to record the data of the cell( like D2) and add every time it changes. Well cell contains the basic formula and it changes as other data in the column changes. I want to record the each data and add every time.

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Private Sub Worksheet_Change(ByVal Target As Range)
       'Do nothing if more than one cell is changed or content deleted
       If Target.Cells.Count > 1 Or IsEmpty(Target) Then Exit Sub
          
        If Target.Address = "$A$1" Then
                   If IsNumeric(Target) Then
                target.copy destination:=Range("B65536").end(xlup).offset(1,0)
                   End If
        End If
          
    End Sub
    everythijme you change the value in A1 it will be copied to a cell in column b
    Not all forums are the same - seek and you shall find

+ 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