when you want to operate in Microsoft Word more lightly you can using Microsoft Word VBA ( Visual Basic Application ). How to add Microsoft Word VBA or Macro:
- First you can access by opening your Microsoft Word software.
- Then press Alt+F11.
- Click menu Insert > Module
- Add sub procedure by typing Sub and name with every suitable name that follow Microsoft Visual Basic notation.
- And you can copy paste or type any of this following Microsoft Word VBA snippet code.
for typing after our selection or our cursor:
Selection.InsertAfter "Some text"
the following statement copies the contents of the current selection to the Clipboard:Selection.Copy
Select paragraf
Selection.StartOf wdParagraph, wdExtend
same as press Backspace
Selection.TypeBackspace
reference:
https://sourcedaddy.com/
https://www.automateexcel.com/
No comments:
Post a Comment