Community
    • Login

    Copy Paste Test from Excel Sheet without " Apostrophes

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    apostrophestextexcelpastecopy
    2 Posts 2 Posters 2.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Max MustermannM Offline
      Max Mustermann
      last edited by

      I have A excel table where I have in F1 the following Formula

      =“<tr>
      <td id=‘td0’>”&A1&“</td>
      <td id=‘td1’>”&B1&“</td>
      <td id=‘td1’>”&C1&“</td>
      <td id=‘td1’>”&D1&“</td>
      </tr>
      "
      &IF(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LEFT(A1;1);“Ü”;“U”);“Ö”;“O”);“Ä”;“A”)=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LEFT(A2;1);“Ü”;“U”);“Ö”;“O”);“Ä”;“A”);”“;”
      <tr>
      <td colspan=4><a name=‘“&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LEFT(A2;1);“Ü”;“U”);“Ö”;“O”);“Ä”;“A”)&”’> - “&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LEFT(A2;1);“Ü”;“U”);“Ö”;“O”);“Ä”;“A”)&” - </a> - [<a href=‘#top’>Top</a>]</td>
      </tr>
      "
      )

      When I copy paste the result from Excel F1 Cell to Notepad++ it copies it with Apostrophes.

      "<tr>
      <td id=‘td0’>Abbauhämmer</td>
      <td id=‘td1’>3</td>
      <td id=‘td1’>100</td>
      <td id=‘td1’>1.18.7</td>
      </tr>
      "

      Is there a way to copy paste the pure text without the Apostrophes, in order that it looks like this ?

      <tr>
      <td id=‘td0’>Abbauhämmer</td>
      <td id=‘td1’>3</td>
      <td id=‘td1’>100</td>
      <td id=‘td1’>1.18.7</td>
      </tr>

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Max Mustermann
        last edited by

        Hello @Max-Mustermann,

        Excel is responsible what goes to the clipboard and npp gets it from
        the clipboard.

        What you can do, if the double quote is unique, to record a macro to
        find and replace double quote with nothing once and rerun it whenever you need it.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors