+ Reply to Thread
Results 1 to 2 of 2

bi-lateral cell linking across workbooks

Hybrid View

  1. #1
    Registered User
    Join Date
    12-02-2009
    Location
    New York State
    MS-Off Ver
    Excel 2003
    Posts
    47

    bi-lateral cell linking across workbooks

    Using 2 workbooks it is simple to have cell A1 from Book2 reflect the contents of cell A1 of Book 1.

    Is there a way to make it so that I can, so to speak, update cell A1 in *either* workbook and have it reflected in both? (or functionally simulate this)

    If there has to be a sort of "data input" cell in each workbook, say, C1, which is reflected in A1 of both books, that would be fine. But the key is that it go both ways so that the desired value could be updated from either workbook and appear in both.

    Perhaps I used the wrong terms but my search of existing solutions didn't produce anything helpful.



    Thankyou
    Last edited by excelname; 02-16-2010 at 05:13 PM. Reason: clarification

  2. #2
    Forum Contributor
    Join Date
    08-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    149

    Re: bi-lateral cell linking across workbooks, sort of.

    You need a macro in each workbook like this:

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Target.Address = "$A$1" Then
        Range("A1").Copy
        ActiveSheet.Paste Destination:=Workbooks("Book2").Sheets("Sheet1").Range("A1")
        Application.CutCopyMode = False
        End If
    End Sub
    Change the book and sheet in the destination to match your needs.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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