+ Reply to Thread
Results 1 to 3 of 3

linking pages in spreat sheet book

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Redditch
    MS-Off Ver
    Excel 2003
    Posts
    70

    linking pages in spreat sheet book

    i have a book that contains 3 spread sheets i would like to link these sheets that if i add a row to spread sheet 1 it will automatically and this to spread sheet 2 and 3

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: linking pages in spreat sheet book

    There are 2 ways to do this. Only one requires VBA and has a few problems that you need to work out.

    The VBA way is to use the event Worksheet_Change to detect whenever a row is added to sheet 1, and write code to copy the row to sheets 2 and 3. However, the event cannot detect when a row is added, it can only detect when there is a change to the sheet. This is a problem--you would have to develop logic to identify only when the number of rows increased. How are you adding the new rows--is this a person typing in data? If so, then when they enter data in column A, it creates a new row, which would be copied to the other sheets, but then if they keep typing in column B, C, D, etc., it's not a new row anymore and the data won't be copied. So you need to think very thoroughly about what you really want to happen here.

    It can be done with formulas on sheets 2 and 3 to reference the data on sheet 1. That is easier to implement and easier to change. The data would always be in sync with Sheet1 no matter what changed or how. Would you consider this as an alternative to VBA?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-06-2014
    Location
    Redditch
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: linking pages in spreat sheet book

    The formular seems to me the way to go how do I set this up

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is it possible to create pages for a work book?
    By groundin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2013, 05:57 PM
  2. Replies: 3
    Last Post: 08-23-2008, 06:01 PM
  3. Enter pages to make a book
    By Roundel in forum Excel General
    Replies: 4
    Last Post: 10-30-2006, 05:08 AM
  4. [SOLVED] I want to keep leading zeros in my excel spreat sheet, How?
    By Mark Engbretsen in forum Excel General
    Replies: 3
    Last Post: 08-09-2006, 09:59 PM
  5. Making changes in all pages in a work book
    By AJ_Knight in forum Excel General
    Replies: 2
    Last Post: 02-24-2006, 04:30 AM

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