+ Reply to Thread
Results 1 to 6 of 6

Replace a Text in 255 character Array Formula

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    United States
    MS-Off Ver
    MS Office 365
    Posts
    43

    Replace a Text in 255 character Array Formula

    Hi,

    I am totally new to vba and I have been googling around to find a solution that would help me find and replace a word (for example, 3 letter month) in array formula that has 255 character but I couldn't find one that could be used or I do not know how to incorporate it into my code. If you can help me with this dilemma that would be great. Thank you!!

    This is part of a vba code I am using to replace
    Please Login or Register  to view this content.
    The code below is the array formula that I want to change using vba code.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,901

    Re: Replace a Text in 255 character Array Formula

    That doesn't look like it needs to be an array formula to me.
    Rory

  3. #3
    Registered User
    Join Date
    09-16-2017
    Location
    Agra
    MS-Off Ver
    2013
    Posts
    72

    Re: Replace a Text in 255 character Array Formula

    pls attach sample workbook with sample input and expected output.

  4. #4
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Replace a Text in 255 character Array Formula

    Why not incorporate a variable from a cell value or some such
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,150

    Re: Replace a Text in 255 character Array Formula

    1. Do the cells 'A1', 'C9', 'T2' in the array formula be in the same sheet ('Check') as the area "B7:O44" with array formulas ?
    If yes, then the cell 'C9' in the array formula (... "!$B$45:$BK$63) = C$9" ...) itself is located in the area in which there are array formulas.
    Is it supposed to be this way ?

    2. No loop is needed:
    Please Login or Register  to view this content.
    3. Some example of a data layout would be helpful

  6. #6
    Registered User
    Join Date
    09-13-2017
    Location
    United States
    MS-Off Ver
    MS Office 365
    Posts
    43

    Re: Replace a Text in 255 character Array Formula

    Thank you all for replying back to my post. I tried porucha vevrku's code in post #5 and it worked. It changed all the values I wanted to the desired result. Thank you all so much!!!

+ 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. [SOLVED] Replace " character with another in cell text
    By apophysz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2018, 02:08 AM
  2. Replace character/letter/text in a label on userform in vba
    By desantech in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-10-2018, 01:11 PM
  3. [SOLVED] VBA Array formula over 255 character workaround - 'replace' not working
    By mon33 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2017, 07:11 AM
  4. [SOLVED] VBA to replace cells containing specific text in a large range with an array formula
    By DaveBre in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-22-2016, 01:21 AM
  5. [SOLVED] Need to replace specific character in the text chain
    By lipton_tea in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2012, 08:55 AM
  6. Search and replace text in cell with single character
    By piputty in forum Excel General
    Replies: 1
    Last Post: 08-05-2011, 10:32 PM
  7. I want to replace the first character in a column of text
    By Biredndra in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-28-2005, 06:05 PM

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