+ Reply to Thread
Results 1 to 3 of 3

inserting a formula with a dynamic cell reference

  1. #1
    Registered User
    Join Date
    06-18-2007
    MS-Off Ver
    2007
    Posts
    77

    inserting a formula with a dynamic cell reference

    As part of more code, the below line is included in what i am doing to populate a worksheet. I need the reference to cell B6 be dynamic to the current row. column B will be static. i have tried R1C1 and a few other things but i have not been able to get it right. The formula once inserted works fine, its just referencing the wrong wrong customer/row.

    Thanks for any help or suggestions.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: inserting a formula with a dynamic cell reference

    Try

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    06-18-2007
    MS-Off Ver
    2007
    Posts
    77

    Re: inserting a formula with a dynamic cell reference

    Thanks Bernie.

    Just needed to add offset to r to get the correct row.

    Please Login or Register  to view this content.

+ 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. VBA - Updating Dynamic Line Chart & Inserting Dynamic Formula
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2014, 10:10 AM
  2. [SOLVED] Cell reference in formula changes after inserting a row
    By coreytroy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2012, 12:18 AM
  3. Invalid or unqualified reference error when inserting a formula into a cell via VBA
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-11-2010, 10:06 AM
  4. Dynamic Cell Reference in VBA Formula
    By mworonuk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2009, 01:41 PM
  5. Changing cell reference in a formula when inserting a row
    By Apel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2009, 01:46 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