+ Reply to Thread
Results 1 to 3 of 3

Insert html tag on every paragraph in cell

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    Bracknell
    MS-Off Ver
    Excel 2010
    Posts
    2

    Insert html tag on every paragraph in cell

    Hi

    I have a spreadsheet with many post from exported news content.

    Unfortunately, the content does not contain any html paragraph tags.

    What I would like to do is process every content cell and identify each paragraph and enclose it with <p>....content...</p> tags.

    Any help would be much appreciated.

    Best regards

    Ian

  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: Insert html tag on every paragraph in cell

    Ian

    There is no closing tag for paragraphs, so you might be able to use Find/Replace or SUBSTITUTE.

    How will you determine where the paragraphs begin/end though?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Bracknell
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Insert html tag on every paragraph in cell

    Hi Norie

    Thank you for your reply...

    Good point about the end tag...

    Fortunately, each paragraph has a line break between so you are right, I guess I can try finding the break and inserting the start tag...

    Many thanks!

    Ian

+ 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