+ Reply to Thread
Results 1 to 3 of 3

Help with Referencing a Cell Relative to Active Cell in Custom Function Code

  1. #1
    Registered User
    Join Date
    04-02-2016
    Location
    Missouri, USA
    MS-Off Ver
    14.14
    Posts
    6

    Help with Referencing a Cell Relative to Active Cell in Custom Function Code

    I'm working on a code for a custom if function.
    Please Login or Register  to view this content.
    The code stops working at the fourth ElseIf. I'm not sure I entered the activecell part correctly but if you see something else wrong please let me know.
    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help with Referencing a Cell Relative to Active Cell in Custom Function Code

    Try this instead:-

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    04-02-2016
    Location
    Missouri, USA
    MS-Off Ver
    14.14
    Posts
    6

    Re: Help with Referencing a Cell Relative to Active Cell in Custom Function Code

    I tried that and it makes all of them stop working.

    Please Login or Register  to view this content.
    I think it has something to do with me either typing the activecell part wrong or adding the "and" wrong because when I remove those as I did above, everything works correctly.

+ 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. Hiding rows relative to the active cell
    By joeywizzle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2015, 03:48 PM
  2. [SOLVED] Copying Relative Cell Referencing
    By BellaGee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2013, 04:31 AM
  3. Custom Function locking up other code for cell coloring
    By juskojj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2012, 04:21 PM
  4. Absolute to Relative Cell Referencing Macro Help!
    By Cele in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-26-2012, 04:51 AM
  5. Copy cells relative to active cell
    By Grouty in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 12-20-2011, 06:32 AM
  6. Change Active Cell but not it's relative position
    By johngombola in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2009, 05:39 AM
  7. [SOLVED] How do I turn off relative cell referencing in excel?
    By Glenn in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-12-2005, 11:06 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