+ Reply to Thread
Results 1 to 2 of 2

Replace "Enter" from a VBA code to split wrapped text into different cells/rows

  1. #1
    Registered User
    Join Date
    06-22-2016
    Location
    Bucharest,Romania
    MS-Off Ver
    Office 2016
    Posts
    4

    Replace "Enter" from a VBA code to split wrapped text into different cells/rows

    Hello All, I need your advise, if it will be ok, to replace the "enter" character, from a VBA code, which split the data from wrapped text cells into different cells / rows.

    Please find below the code. This works fine, but I would like to know if it is feasible to replace the "enter" with some other character. Does any other character, ruin the macro functionality? How should I add it?

    With the current macro, users cannot use "enter" inside their text fields. If they start to submit enter and use more paragraphs inside the text field, the macro is not working ok - not taking all the data.
    Any thoughts on this?

    Thanks a lot

    Please Login or Register  to view this content.
    Last edited by AliceDB; 06-22-2017 at 08:14 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Replace "Enter" from a VBA code to split wrapped text into different cells/rows

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    And this just advice - will facilitate helping you:
    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Best Regards,

    Kaper

+ 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. Replies: 16
    Last Post: 04-26-2017, 02:26 AM
  2. Replies: 1
    Last Post: 03-31-2014, 08:39 PM
  3. [SOLVED] how to replace the "Alt-Enter" character in a cell with sway "@"
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-04-2014, 05:55 AM
  4. Find "TEXT 1" in a range and enter "TEXT 2" in the adjacent cell
    By madreag in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-28-2013, 05:34 PM
  5. code to replace 'Rows("31:31").Select' statement with variables
    By Ed_Collins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2012, 06:28 PM
  6. [SOLVED] How do I split "A1B2" into "A1" and "B2" using text to column fun.
    By Jennifer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2005, 06:06 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