Utility: Copy and paste HIGHLIGHT-tagged code
Description: As you may be aware when you try to copy and then paste VB code which has been displayed in the forums using [Highlight=VB] tags, the result is a single run-on line. A partial solution to that problem is to paste the code into WordPad (not NotePad) and then copy again from there, but while that gives separate lines, all indentation is lost. This app provides a complete solution. When run once it stays quietly in the background. Then if you use Alt_C rather than Ctrl_C to "copy" HIGHLIGHT-tagged code from the forums it uses Word (which must be on your PC) in the background to remove the numbering while maintaining line integrity and indenting. You then use Ctrl_V as normal to paste into a VB program. The program will remain in the background until you reboot or delete the VBCode.exe Image Name from the Task Manager Processes list.
For similar code in an Add-In see this.
- As described above
Author Name: Martin Liss