Monday, April 20, 2020

Word VBA Examples List

Word VBA Examples List:

Select / Go To
    Bookmarks
    Document
    Columns
    Font
    Insert
    Loops
    Paragraph

Word VBA Macro Tutorial
Simple Word Macro Example

    Word Macro Basics

Word Document Object

    Application

Documents

        ActiveDocument
        ThisDocument
        Document Variables
    Document Methods
        Open Document
        Create New Document
        Save Document
        Close Document
        Print Document

Range, Selection, Paragraphs

    Range
        Set Range Text
    Selection
        Move Selection
    Paragraphs
    Word VBA Tutorial Conclusion

Word Macro Examples

    PowerPoint VBA FAQs
        What is a Word Macro?
        Does word have VBA?
        How do I use VBA in Word?

Microsoft Word VBA Snippet Code 1


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:

  1. First you can access by opening your Microsoft Word software.
  2. Then press Alt+F11.
  3. Click menu Insert > Module
  4. Add sub procedure by typing Sub and name with every suitable name that follow Microsoft Visual Basic notation.
  5. 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/

Sunday, April 19, 2020

Wildcards Character and Operator in Microsoft Word

Wildcards Character and Operator

The question mark matches any single character;

Asterisk are wildcard characters that represent characters in the search text. The asterisk matches any group of characters (commonly called a text string).
For example, searching for wo*d finds text such as word, world, and worshipped.

To use these wildcard characters, select the Use wildcards check box in the Find and Replace dialog box:

Friday, April 17, 2020

Script Compile Java NppExec di Notepad++

Di bawah ini adalah Script Compile Bahasa Pemrograman Java dengan menggunakan plugin NppExec di software text editor Notepad++:

::compile and run sqlite jdbc
NPP_SAVE
cd $(CURRENT_DIRECTORY)
javac $(FILE_NAME)
if $(EXITCODE) == 1 GOTo  exitscript
npp_run cmd /c java -cp .;"C:\portable\library\sqlite-jdbc-3.23.1.jar" $(NAME_PART)
:exitscript

Topik yang berhubungan dengan Java dan Notepad Plus Plus: