Results 1 to 5 of 5

VBA Workaround for 255 character limit in cell?

Threaded View

  1. #1
    Registered User
    Join Date
    10-05-2011
    Location
    NYC
    MS-Off Ver
    Excel 2010 Professional Plus
    Posts
    44

    VBA Workaround for 255 character limit in cell?

    Hello,

    I am using VBA to populate a column within my worksheet with the bolded formula below. This returned value in some instances results in "####" displaying in the cell due to total characters in the cell exceeding 255; the cell displays correctly in all other instances when the character count is 255 or less. My code is as follows:


    Dim pc As Worksheet
        Set pc = ThisWorkbook.Worksheets("DEV")  
        
        pc.Range("F4").Value = "=IFERROR(VLOOKUP(CONCATENATE($L4,A4),'VAR EXP LOOKUP'!$A$1:$C$799,2,FALSE),"""")"
        pc.Range("F4").Select
        Selection.AutoFill Destination:=Range("F4", Range("F4").End(xlDown))
    I have referenced both
    HTML Code: 
    and
    HTML Code: 
    but I cannot figure out how to apply this to what I am doing.

    Any help will be greatly appreciated. Thanks!

    Bjordion
    Last edited by Bjordion; 11-13-2013 at 04:04 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA formulaarray 255 character limit workaround
    By moses67 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2013, 06:41 AM
  2. [SOLVED] Workaround to the 32767 character limit for strings in VBA?
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-05-2013, 06:18 AM
  3. Display Active Character Count + Limit Character Per Cell
    By euronail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2011, 04:59 AM
  4. Workaround needed for 255 character find limit
    By NukedWhale in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2009, 04:10 PM
  5. [SOLVED] busted workaround for 255 character limit in cells
    By mklapp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2005, 05:05 AM

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