+ Reply to Thread
Results 1 to 18 of 18

How Do I Remove The Carriage Return Symbol From Cell Populated By A UserForm TextBox?

Hybrid View

  1. #1
    Registered User
    Join Date
    08-05-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: How Do I Remove The Carriage Return Symbol From Cell Populated By A UserForm TextBox?

    Yes. I would like fo rthe cell to reflect the layout from within the userform text box. So this in the text box:

    address line 1
    address line 2
    address line 3

    will be replicated in the cell it populates.

    I currently have something like this in my userform code:

    ActiveCell.Offset(0, 3) = txtLocation.Value
    ActiveCell.Offset(0, 5) = txtReference.Value
    ActiveCell.Offset(0, 11) = txtComments.Value

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How Do I Remove The Carriage Return Symbol From Cell Populated By A UserForm TextBox?

    Try setting word wrap on in the cells were the multiline data is going.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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