+ Reply to Thread
Results 1 to 2 of 2

Copy and paste from column without quotations on carriage return.

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    Copy and paste from column without quotations on carriage return.

    Folks,

    I have several textboxes with buttons that populate several cells in a single column and then copies that column so that I can then paste the contents into a seperate company data entry program that is web based. I have enabled the enter key (for carriage returns) in the textboxes so that paragraphs can be written. However, if the return button is used in a text box, it translates over to the assigned cell as if I had selected <alt enter>. Therefore, whenever I paste it into the web based program, annoying quotation marks show up around the data in that cell when the column is copied.

    This can be duplicated by entering text into any cell and using the <alt enter> function at some point. If you copy and paste it into Microsoft Notepad, you will see the unwanted quotation marks I am talking about. I have found code that eliminates this for individual cells, but I cannot figure out how to adapt it for the entire column. I have attached the macro I found below.

    The issue is in line 4 where it uses 'ActiveCell.Text'. This only allows the text for the first cell in the column to be copied. I need the entire column. I have tried many variations without success. I was wondering if any of you know the proper code to select the entire column. It is probably an easy solution but it has me scratching my nogin.

    Please Login or Register  to view this content.
    Last edited by Tazyote; 04-05-2016 at 11:53 PM. Reason: Unclear

  2. #2
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: Copy and paste from column without quotations on carriage return.

    FYI, I found a better solution by running the column through Word first. I am posting it here in case any of you find this useful. Thanks

    Please Login or Register  to view this content.

+ 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] replacing two carriage return wit one carriage return
    By CDandVinyl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2015, 05:55 PM
  2. [SOLVED] find header value in column, return cell next to it for copy/paste
    By julzhart in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2014, 10:29 AM
  3. Vba - find next empty column, insert column, copy paste values & copy paste formulas
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2012, 12:43 PM
  4. VBA paste to word - problem with carriage return
    By wonderdunder in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-03-2010, 04:16 PM
  5. Copy text box (with carriage return) to cell
    By MrPez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2009, 11:16 AM
  6. Parsing Excel Column based on Line Feed/Carriage Return?
    By kj2398 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2007, 01:23 PM
  7. [SOLVED] Carriage return after last column
    By Steve in forum Excel General
    Replies: 3
    Last Post: 12-28-2005, 05:35 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