+ Reply to Thread
Results 1 to 4 of 4

How can I get it to auto enter <p>?

  1. #1
    Registered User
    Join Date
    01-14-2007
    Posts
    7

    How can I get it to auto enter <p>?

    Hi everyone,

    I have two columns "K" which is the story column, and "L" which is the plot column. I copy and plast information in to boths of those columns but the I have to hand enter <p> and the end of each pasted text.

    Example if I copy and paste "Little Chimps, the Story of the Amazon" I then have to hand enter <p> so the cell will be "Little Chimps, the Story of the Amazon<p>"

    Is there a way I can have the <p> appear automatically at the end of any text I paste into both of those cells? It would save me so much time.

    I would appreciate any help or suggestions.

    Thank you in advance.

    Shannon

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Could give this code a try.

    I assumes the quote mark are not in the cell

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-14-2007
    Posts
    7
    Hi VBA,

    I tried it and it doesn't seem to be working. Do I have to change anything in the code you posted?

    I copied it from here and pasted it into the K column in the function and I can't get.

    PS. Yeah, there are no " " in the text.

    Thanks again.

    SC

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Sorry it's a macro. See attached for an Example.

    The link at the bottom of the post has a link showing you how to add code

    If you want a formula try

    =A1&" <p>"

    VBA Noob
    Attached Files Attached Files

+ 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