+ Reply to Thread
Results 1 to 2 of 2

Want to permanently Link cells on a new Worksheet to main sheet.

  1. #1
    Registered User
    Join Date
    03-02-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Want to permanently Link cells on a new Worksheet to main sheet.

    Hi guys
    Hope you can help. I am pretty new to VBA (2007).
    I created the a macro linked to a button that allows the user to create a new sheet "NewSheet". (This is just copied from a "Template" worksheet).
    "Template" worksheet and the 1st sheet ("JobComparisons") are already set up with Defined Names.
    Then, in the macro, I link the key cells on "NewSheet" to "JobComparisons" only to find that the data (values) are moved to "JobComparisons", but the link is not live.
    i.e. when I update fields on "NewSheet" this is not reflected on "JobComparisons".
    Obviously I need to do my link some other way. Can anybody help?

    Dim ColRange As Range
    Set ColRange = Worksheets("JobComparisons").Range("Col_Customer_Name")
    ColRange(2) = Worksheets("NewSheet").Range("Customer_Name")

  2. #2
    Registered User
    Join Date
    03-02-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Want to permanently Link cells on a new Worksheet to main sheet.

    So - okay. Have realised I need to use something like "FormulaR1C1" and maybe "INDIRECT". Not quite sure how to do that.

+ 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. [SOLVED] populating worksheet from a main sheet
    By RobertM01 in forum Excel General
    Replies: 13
    Last Post: 02-04-2014, 01:38 AM
  2. Linking a main sheet to other tabs within worksheet?
    By LDouble3 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-15-2012, 02:47 PM
  3. Replies: 4
    Last Post: 07-12-2010, 09:12 AM
  4. [SOLVED] How do I link multiple cells at the same time?-main wuestion
    By Juippi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2005, 02:05 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1