+ Reply to Thread
Results 1 to 3 of 3

Linking Cells

  1. #1
    Registered User
    Join Date
    06-11-2019
    Location
    North Carolina, United States
    MS-Off Ver
    2010
    Posts
    48

    Linking Cells

    I need help cant wrap my head around this, trying to link cells together and I cant get the function to work

    ActiveCell.FormulaR1C1 = "=Sheet2!R[-Cnt]C"


    The 2 also needs to be the variable Cnt but it's the middle of a string so don't know if this is possible?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,652

    Re: Linking Cells

    ActiveCell.FormulaR1C1 = "=Sheet2!R[-" & Cnt & "]C"
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    06-11-2019
    Location
    North Carolina, United States
    MS-Off Ver
    2010
    Posts
    48

    Re: Linking Cells

    thank you for your help

    this is what i got


    ActiveCell.FormulaR1C1 = "=Formatting" & Cnt & "!R[" & Cnt & "]C"

+ 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. Replies: 0
    Last Post: 12-30-2015, 04:17 PM
  2. Linking to cells on another sheet plus 377 cells each time
    By jshaw82 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-05-2014, 05:08 AM
  3. [SOLVED] Linking cells globally to allow users the ability to change cells on separate sheet/cells.
    By V1gilante in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2014, 10:47 PM
  4. [SOLVED] Linking cells from one sheet to another and update cells accordingly based on selection
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-17-2013, 09:53 AM
  5. Cells linking but not linking
    By Cnocell7 in forum Excel General
    Replies: 12
    Last Post: 12-19-2012, 03:59 PM
  6. Linking single cells to related groups of cells?
    By rykey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2007, 05:43 PM
  7. Linking a horizontal set of cells to a vertical sets of cells
    By Russell-stanely in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-21-2005, 11:05 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