+ Reply to Thread
Results 1 to 7 of 7

Mirror certain data from several worksheets into one 'front page' worksheet

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    5

    Mirror certain data from several worksheets into one 'front page' worksheet

    Hi. I am hoping this is reasonably simple to do with a bit of clever code (assuming you're clever unlike myself.)

    Similar to the issue this user had http://www.excelforum.com/excel-prog...orksheets.html

    The problem:
    My workbook contains multiple worksheets that all contain data. I want to be able to pick certain fields accross all of these worksheets, and present (mirror) them in a 'summary' worksheet. I need to be able to specify which cells accross my worksheets I pick.

    for example.

    sheet2: A2, B2, C2
    sheet3: A4, B4, C4:C6
    sheet4: D4:D9

    All to be mirrored on sheet1 (my summary worksheet) in cells which i specify. i.e. [Data from sheet2 to D2, E2, F2], [data from sheet2 to B4, C4, D4:D6] and so on.

    And by mirror I mean if a user changes data on one of my worksheets, the changes are reflected in sheet1, and visa-versa.

    For context, this is basically a spreadsheet that has a worksheet for different projects, and the summary page is just a presentation of key milestones, risks etc. So I want to avoid entering the same data on 2 sheets all the time.

    I am hoping this is feasible. Would really appreciate any help that anyone can give.

    regards.
    Rob Smith

  2. #2
    Registered User
    Join Date
    05-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    I should additionally add that if anyone can think of a more efficient way of doing this, with or without VB code, I am open to ideas.

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    Would both the workbooks be open at the same time?

    Have you tried just linking the files together using =? For e.g. in summary sheet cell D2 put this =sheet2!A2
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    05-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    Fantastic. I knew there would be something simple. What a great little forum this is.

    I'll have a play and mark this as solved once i'm certain i've got there. Thanks very much

  5. #5
    Registered User
    Join Date
    05-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    Hi. This has worked in that the cells that I specify are 'mirrored', however it brings up VB editor and an error " Compile Error: Sub or Function not defined."

    Any idea how i can stop this error popping up - it'll look bad when I send this xls file to collegues to populate.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    Do you have any VBA code in your file?

  7. #7
    Registered User
    Join Date
    05-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Mirror certain data from several worksheets into one 'front page' worksheet

    Yes, I did. Not sure why. Deleted the VB code and issue resolved.

    Thanks for you help.

+ 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