Community
    • Login

    Transferring VBA Text to Word Document

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 3.6k Views
    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
      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
        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
          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
            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors