+ Reply to Thread
Results 1 to 3 of 3

Compile Error: Expected: expression

  1. #1
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    Compile Error: Expected: expression

    Can anyone help me figure out why I am getting this error? I am trying to manually write an Array Formula.

    Please Login or Register  to view this content.

    I do not understand why the word IF is highlighted when I Debug. I have many IF formulas and they seem to be ok. This is what is highlighted but it's just the word IF that seems to be an issue.
    Please Login or Register  to view this content.

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

    Re: Compile Error: Expected: expression

    There is an extraneous quote in front of one of the previous "vbNullStrings that is throwing it off.

    Try this...
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    Re: Compile Error: Expected: expression

    -facepalm- a typo! Thanks for pointing that out. I thought it was telling me I spelled IF wrong lol

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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