+ Reply to Thread
Results 1 to 1 of 1

Searching Arrays on Excel for OS X

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    1

    Question Searching Arrays on Excel for OS X

    I'm working on making an existing macro-enabled spreadsheet functional on Excel for Mac 2011.

    I have a function (Source) that searches arrays for a specified value:
    Please Login or Register  to view this content.
    It works perfectly in Excel 2013, but on Excel for Mac 2011, I receive the error:
    Runtime error '9': Subscript out of range

    I broke it apart and found that the UBound call is what's causing the error.

    I'd like to change as little as possible for maintainability. How can I fix this error for the Mac version?

    Thanks in advance for any replies!

    Solution: See StackOverflow
    Last edited by .Cameron.; 04-26-2013 at 05:30 PM. Reason: Solution

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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