+ Reply to Thread
Results 1 to 2 of 2

find changes in a cell range, copy changes to another workbook

  1. #1
    Susanne
    Guest

    find changes in a cell range, copy changes to another workbook

    When a cell in a range is updated I want to copy the value to another
    workbook in the corresponding sheet (months). Haven't used XL VBA much and
    presumably need to use sheet index numbers.

    Any help gratefully received.


  2. #2
    Tom Ogilvy
    Guest

    Re: find changes in a cell range, copy changes to another workbook

    See Chip Pearson's page on Events
    http://www.cpearson.com/Excel/Events.htm

    you would use the change event for the sheet where the changes would be
    made.

    You can translate a month into an index

    Dim sh as Worksheet
    set sh = Workbooks("Other.xls").Worksheets(month(target.offset(0,-1).Value)

    or make it a string

    sStr = format(Target.offset(0,-1).Value, "mmm")


    --
    Regards,
    Tom Ogilvy


    "Susanne" <[email protected]> wrote in message
    news:[email protected]...
    > When a cell in a range is updated I want to copy the value to another
    > workbook in the corresponding sheet (months). Haven't used XL VBA much and
    > presumably need to use sheet index numbers.
    >
    > Any help gratefully received.
    >




+ 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