+ Reply to Thread
Results 1 to 3 of 3

Separate a statement that utilizes Split(), into 2 or more separate lines.

  1. #1
    Registered User
    Join Date
    12-20-2014
    Location
    North America
    MS-Off Ver
    2013
    Posts
    40

    Separate a statement that utilizes Split(), into 2 or more separate lines.

    In Excel VBA, one normally uses an underscore to break, or separate of long line of statement to 2 or more lines.

    In trying to write the following array

    Please Login or Register  to view this content.
    I am unable to separate the 'columnName =' statement into two or more lines, using underscore.

    Is a way around this besides abandoning the Split(), all together?

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Separate a statement that utilizes Split(), into 2 or more separate lines.

    May be
    Please Login or Register  to view this content.
    Last edited by YasserKhalil; 08-15-2018 at 12:50 AM.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Separate a statement that utilizes Split(), into 2 or more separate lines.

    You can also use concatenation directly with the underscore:

    Please Login or Register  to view this content.
    Rory

+ 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] Split a list in to separate tabs
    By kiboodez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-02-2014, 11:31 AM
  2. [SOLVED] How to split only the numbers into separate cells?
    By Droriley in forum Excel General
    Replies: 7
    Last Post: 11-19-2014, 05:49 AM
  3. [SOLVED] Split worksheets to separate files
    By ksteffin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2013, 06:04 AM
  4. split data in one column into two separate ones
    By C.j. in forum Excel General
    Replies: 6
    Last Post: 03-21-2012, 02:28 PM
  5. Split into Separate Worksheets
    By bigroo1958 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-15-2010, 10:54 AM
  6. Split my data into separate worksheets
    By drunk8gods in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2010, 04:20 PM
  7. Split Number into Four Separate Parts
    By Gos-C in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2005, 02:08 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