Results 1 to 11 of 11

Use cell address, not its value, as a function argument

Threaded View

  1. #1
    Registered User
    Join Date
    06-10-2014
    Location
    Brooklyn Heights
    MS-Off Ver
    Office Professional Plus 2013
    Posts
    16

    Use cell address, not its value, as a function argument

    (sorry about the massive subject title - accidentally hit entry before proofing)

    ________________________
    it's been forever since i programmed in excel; and, of all things, i'm stuck at XL101

    the formula starts
    Function Sum_till_blank(rTarget As Range, vOffset As Integer)

    where rtarget ought to be a cell ADDRESS, and vOffset is a number
    for a in-cell formula entry "= Sum_till_blank(B29,3)"
    the arguments received are
    rTarget = "the value of cell B29", NOT the cell address (which is what i want)

    it's such a simple issue, continual web searching is making me insane


    with much thanks in advance,
    mark
    Last edited by 6StringJazzer; 03-15-2018 at 09:39 PM. Reason: clarified title

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If cell meets date requirement enter 1, if not enter 0, if blank don't enter anything.
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-11-2017, 02:04 PM
  2. VBA to enter formula in cell not calculating...showing formula in cell
    By kmlloyd in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2015, 06:42 PM
  3. [SOLVED] Enter formula result from one cell into a COUNTIF formula in another cell. Help please!
    By gregrach in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 11:23 AM
  4. Replies: 1
    Last Post: 11-08-2013, 02:06 AM
  5. IF arguement
    By OdinSmasher in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-28-2008, 03:56 PM
  6. Sub as an arguement
    By SuitedAces in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 09-07-2007, 08:46 PM

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