Transferring VBA Text to Word Document
-
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!
-
@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 -
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.
-
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
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