Results 1 to 4 of 4

Thread: Linking cells in different worksheets

  1. #1
    Join Date
    Apr 2009
    Posts
    87

    Linking cells in different worksheets

    I have a workbook with several worksheets like employee details, employee id and employee address. Now i want interlink cells of all that worksheet so changes can be made easily. What is the procedure for linking cells in different worksheets?

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: Linking cells in different worksheets

    Use the formular for linking cells in different worksheets


    =sheetname!Cellref

    So if your on a employee adderss sheet called Totals, and need a value in employee id sheet 2 called id2 at Cell reference a2, just use

    =id2!a2

  3. #3
    Join Date
    Dec 2008
    Posts
    371

    Re: Linking cells in different worksheets

    Right click on the Employee Excel icon (top left next to File) and choose View Code.
    Code:
    Private Sub Workbook_SheetSelectionChange(ByVal emp As Object, ByVal details As Range) 
        If emp.CodeName = "address1" Or emp.CodeName = "id2" Then 
            If details(1, 1).Address = "$A$1" Then 
                Sheets( Array(address.Name, id.Name)).Select 
            Else 
              emp.Select 
            End If 
        End If 
    End Sub

  4. #4
    Join Date
    May 2008
    Posts
    4,345

    Re: Linking cells in different worksheets

    From the employee id worksheets select the cell and Hit the + key navigate to the source data cell,select it and press enter. Now whatever goes in the source cell will end up in the originally selected cell (employee address)too.

Similar Threads

  1. cannot tab between worksheets in Excel 2007
    By MartinaMiranda in forum Windows Software
    Replies: 5
    Last Post: 06-04-2011, 08:43 PM
  2. Compare two Excel Worksheets on Mac
    By Claudius in forum Windows Software
    Replies: 2
    Last Post: 10-06-2009, 10:46 PM
  3. What is Workbook and Worksheets in Excel
    By Xylina in forum Windows Software
    Replies: 3
    Last Post: 06-06-2009, 07:13 PM
  4. Merging Excel worksheets
    By Alexxx in forum Tips & Tweaks
    Replies: 3
    Last Post: 03-03-2009, 08:06 PM

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
  •  
Page generated in 1,751,822,151.86686 seconds with 16 queries