Community
    • Login

    Transferring VBA Text to Word Document

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 4.0k Views 3 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.
    • Dave Cavallaro Jr.D Offline
      Dave Cavallaro Jr.
      last edited by

      Hi everyone,

      I was wondering if there was any way to copy and paste/export the VBA text in the editor to a word document all while keeping the color notations. Haven’t been able to transfer this text over without the color going away. Thank you!

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Dave Cavallaro Jr.
        last edited by

        @Dave-Cavallaro-Jr.

        sorry, but neither underlying component nor notepad++ do support it at the moment.
        I’m not aware that there is any plugin which has such functionality.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • dailD Offline
          dail
          last edited by

          NppExport comes with Notepad++. This plugin can export to HTML or RTF, or copy these formats to the clipboard. You can also select the text, right click, select Plugin Commands, Copy Text with Syntax Highlighting.

          1 Reply Last reply Reply Quote 0
          • guy038G Offline
            guy038
            last edited by

            Hi Dave, Claudia, dail and All,

            Yeh, the dail’s solution is the right one ! After selecting your text, you may, either, use the menu option Plugins - NppExport - Copy all formats to clipboard

            However, I noticed that if the selected text contains any link, you get an Unknown exception message, when running this command :-((

            So, I would advice you to disable, temporary, the clickable links. On the right top corner of the panel Settings - Preferences… - MISC, just uncheck the Enable option, in the Clickable Link Settings area !

            Best Regards,

            guy038

            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