Delete all blank lines (word).txt inside the document with one click
- mackenziebullock06
- Jun 15, 2020
- 2 min read
Word documents obtained by copying and pasting network sources possess a large amount of useless spaces and blank lines. It can be incredibly troublesome to delete them one by a single. Should you produce a word macro with associated functions, then add a button for the toolbar. When we click on the toolbar With this button, all the spaces and blank lines within the word document is often deleted with a single click by executing the word macro.
Begin the word 1st and then close the default open word document, then click the menu tool-macro-visualbasic editor command, adjust the 'visualbasic editor', in the 'visualbasic editor' window, right-click 'Normal', choose Insert -Module command, insert a module.
Right after inserting restore img file , enter the following code inside the window that opens automatically towards the appropriate from the 'visualbasic editor' (the code is usually downloaded at www.shudoo.com/bssoft): Just after getting into the code, exit the 'visualbasic editor', just enter Code will not be automatically saved any longer.
Right-click anywhere on the toolbar, select Customize within the menu that appears, open the custom window and switch to the Command tab, the macro alternatives below the category list box in the solutions, then a command named Regular module 1. Kongge' alternative, pick this choice, hold down the left mouse button and drag it to any position on the toolbar.
At this time, a command button named normal module 1.kongge will appear on the toolbar. Right-click this command button, plus a right-click menu will seem. Within this right-click menu, we primarily execute the following operations.
1. Replace the content material on the text box behind the command with all the deletion of spaces and blank lines.
2. Execute the change button image command, choose a favourite icon (including the red heart icon) within the submenu that appears.
After finishing the above two actions, ultimately close the custom window.
So far, we've completed the addition of the delete space and blank line buttons in the toolbar. When we will need to delete the space and blank lines inside a WORD document, we only need to open the word document and click Delete inside the toolbar The space and blank line buttons, wait for a even though, all of the spaces and blank lines within the word document will probably be deleted.
recover data from .img file : When we save a net page as a text file and copy all of the contents on the text file into word for editing, resulting from the complexity in the blank line, click the delete space and blank line button may not be deleted at a time All blank lines, at this time, click this button once more, you'll be able to delete all. Please adjust your word macro security settings when entering and applying this macro.
Comments