+ Reply to Thread
Results 1 to 4 of 4

How to Split VBA code in New lines

  1. #1
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    How to Split VBA code in New lines

    Hi all,
    i am finding difficulty to split the VBA code to new lines.
    getting error always as i tried many ways with _ , VBLF etc

    pls help to solve it

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: How to Split VBA code in New lines

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    12-07-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: How to Split VBA code in New lines

    Hi

    Since the total formula is 1 string you`ll need to close it at each line break and then concatenate and reopen the string on the next line E.G.

    Please Login or Register  to view this content.
    Regards
    Ian

  4. #4
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: How to Split VBA code in New lines

    Thanks a million , Its perfectly working.

+ 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. How to split the lines in a cell into multiple rows.
    By narayana_ou@yah in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-23-2014, 04:19 AM
  2. [SOLVED] Excel 2007 : Split formula in 2 lines in 1 cell
    By Raen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-17-2013, 06:21 AM
  3. Importing from access and need to split lines
    By SallyB in forum Excel General
    Replies: 1
    Last Post: 03-11-2013, 02:26 AM
  4. how to convert excel split code to word split code
    By gsrikanth in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2012, 07:56 AM
  5. Split excel file into multiple files by lines
    By roger212 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2011, 04:46 AM

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