העתק
Bold – מדגיש טקסט חשוב במסמך
Selection.Font.Bold = True
העתק
InsertTable – יוצר טבלה עם 3 שורות ו־3 עמודות
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=3, NumColumns:=3
העתק
Citation – מוסיף ציטוט לפי סגנון APA
ActiveDocument.Citations.Add Selection.Range, "BookAuthorYear", "APA"
העתק
מסמך אקדמי מורכב – כותרת, תוכן עניינים, ציטוט, ביבליוגרפיה
Selection.TypeText "כותרת המחקר"
Selection.Style = ActiveDocument.Styles("Title")
ActiveDocument.TablesOfContents.Add Range:=Selection.Range, UseHeadingStyles:=True
ActiveDocument.Bibliographies.Add Selection.Range, wdBibliographyStyleAPA
העתק
Italic – הופך טקסט לנטוי
Selection.Font.Italic = True
העתק
Underline – מוסיף קו תחתון לטקסט
Selection.Font.Underline = wdUnderlineSingle
העתק
AlignCenter – מיישר טקסט למרכז
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
העתק
InsertTable – יוצר טבלה עם 2 שורות ו־2 עמודות
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=2, NumColumns:=2
העתק
TableBorders – מוסיף גבולות לטבלה
Selection.Tables(1).Borders.Enable = True
העתק
Footnote – מוסיף הערת שוליים
ActiveDocument.Footnotes.Add Range:=Selection.Range, Text:="הערה אקדמית"
העתק
Bibliography – מוסיף ביבליוגרפיה בסוף המסמך
ActiveDocument.Bibliographies.Add Selection.Range, wdBibliographyStyleAPA
העתק
Index – יוצר אינדקס ערכים
ActiveDocument.Indexes.Add Range:=Selection.Range
העתק
DropDown – רשימה נפתחת בטופס
Dim dd As ContentControl
Set dd = ActiveDocument.ContentControls.Add(wdContentControlDropdownList)
dd.DropdownListEntries.Add "אפשרות א"
dd.DropdownListEntries.Add "אפשרות ב"
העתק
CheckBox – תיבת סימון בטופס
ActiveDocument.ContentControls.Add(wdContentControlCheckBox)
העתק
Macro – מאקרו בסיסי עם פתיח וסיומת
Sub מאקרו_בסיסי()
Application.ScreenUpdating = False
MsgBox "המאקרו רץ"
Application.ScreenUpdating = True
End Sub
העתק
ProtectDocument – הגנה על מסמך עם סיסמה
ActiveDocument.Protect Type:=wdAllowOnlyReading, Password:="1234"
העתק
CompareDocuments – השוואת שני מסמכים
Documents.Compare Name:="A.docx", CompareTarget:=wdCompareTargetNew
העתק
LoopParagraphs – מעבר על כל הפסקאות במסמך והדגשת אלו שמכילות את המילה "חשוב"
Dim para As Paragraph
For Each para In ActiveDocument.Paragraphs
If InStr(para.Range.Text, "חשוב") > 0 Then
para.Range.Font.Bold = True
End If
Next para