+ Reply to Thread
Results 1 to 4 of 4

How can i add an arrayformula in VBA when formula exceeds 143 characters

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Monterey, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    How can i add an arrayformula in VBA when formula exceeds 143 characters

    When i try to add an array formula using VBA, if the formula expression exceeds 143 characters in length, i get an error message. But when i go directly into the cell and edit it, i can add longer array formula. Is there a workaround in VBA that will allow me to overcome the 143 limitation?
    Thanks for any suggestions.
    EdH

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

    Re: How can i add an arrayformula in VBA when formula exceeds 143 characters

    Could you not seperate one or more parts of your formula into VBA or Sheet variables to reduce the length of the text that way?
    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
    05-22-2012
    Location
    Monterey, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How can i add an arrayformula in VBA when formula exceeds 143 characters

    Thanks for the suggestion of splitting the formula into smaller parts. I'll give it a try this evening.

  4. #4
    Registered User
    Join Date
    05-22-2012
    Location
    Monterey, CA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How can i add an arrayformula in VBA when formula exceeds 143 characters

    Mehmetcik, i tried your idea of splitting the formula up and after several tries i got it to work. Not completely sure what the maximum character limitation is when adding arrayformula or where to look this up. Thank you for your earlier response and help. I'm new at posting and responding. I think i showed that my original post is resolved but if i didn't do it right, please someone tell me how. Thanks

+ 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. VBA Characters() Function Fails when the Cell Content Exceeds 261 Characters
    By :) Sixthsense :) in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 03-07-2016, 06:37 AM
  2. [SOLVED] code exceeds max. # of characters per line
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-19-2014, 11:35 AM
  3. [SOLVED] Need to Convert Formula R1C1 into A1-style but the Formula String exceeds 255 characters
    By VBA_Gary in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-04-2012, 12:09 PM
  4. importing data that exceeds 255 characters
    By dmac_59 in forum Excel General
    Replies: 0
    Last Post: 10-31-2007, 06:22 PM
  5. [SOLVED] Calculating a formula that exceeds 1,000 characters
    By w1nter11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-14-2006, 09:25 AM
  6. Delete A Word That Exceeds X Number Of Characters
    By brazen234 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-31-2005, 12:40 PM
  7. [SOLVED] Footers in which number of characters exceeds 255
    By DRK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2005, 01:05 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