+ Reply to Thread
Results 1 to 3 of 3

Long Array Formula VBA

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Long Array Formula VBA

    I have a formula in cell Q2 as follows
    Please Login or Register  to view this content.
    I am trying to use this formula in VBA. I have tried
    Please Login or Register  to view this content.
    I have also tried
    Please Login or Register  to view this content.
    .

    I can't get either of these methods to work. I believe there is a 256 char limit for array formulas in VBA, which would explain why the first method won't work. Is there any workaround that might work? Thanks.
    Last edited by maacmaac; 12-27-2011 at 11:26 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Long Array Formula VBA

    Could you perhaps shorten the Array along the lines of:

    Please Login or Register  to view this content.
    Given only the row increments you need only hardwire starting row in appropriate range references I think...

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Long Array Formula VBA

    DonkeyOte,

    This works just like the long code and works in VBA. However, I am not coming up with the expected results. This refers back to thread 807004 http://www.excelforum.com/excel-prog...html?p=2670272

    Thanks again for your comments.
    Attached Files Attached Files

+ 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