-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
990 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Microsoft Word related/Word Macros/MakeDoubleParagraphs.bas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Attribute VB_Name = "NewMacros" | ||
Sub MakeDoubleParagraphs() | ||
Attribute MakeDoubleParagraphs.VB_Description = "Makes all single paragraph spaces into double spaces." | ||
Attribute MakeDoubleParagraphs.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.MakeDoubleParagraphs" | ||
' | ||
' MakeDoubleParagraphs Macro | ||
' Makes all single paragraph spaces into double spaces. | ||
' | ||
Selection.Find.ClearFormatting | ||
Selection.Find.Replacement.ClearFormatting | ||
With Selection.Find | ||
.Text = "^p" | ||
.Replacement.Text = "^p^p" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
Selection.MoveLeft Unit:=wdCharacter, Count:=1 | ||
Selection.MoveRight Unit:=wdCharacter, Count:=1 | ||
End Sub |
348 changes: 348 additions & 0 deletions
348
Microsoft Word related/Word Macros/NewCleanDialogMacros.bas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,348 @@ | ||
Attribute VB_Name = "NewMacros" | ||
Sub CleanDialog() | ||
' | ||
' Cleandialog Macro | ||
' A macro that will replace any lower case quoted text with capital letters. | ||
' | ||
Selection.Find.ClearFormatting | ||
Selection.Find.Replacement.ClearFormatting | ||
With Selection.Find | ||
.Text = """a" | ||
.Replacement.Text = """A" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """b" | ||
.Replacement.Text = """B" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """c" | ||
.Replacement.Text = """C" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """d" | ||
.Replacement.Text = """D" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """e" | ||
.Replacement.Text = """E" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """f" | ||
.Replacement.Text = """F" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """g" | ||
.Replacement.Text = """G" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """h" | ||
.Replacement.Text = """H" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """i" | ||
.Replacement.Text = """I" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """j" | ||
.Replacement.Text = """J" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """k" | ||
.Replacement.Text = """K" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """l" | ||
.Replacement.Text = """L" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """m" | ||
.Replacement.Text = """M" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """n" | ||
.Replacement.Text = """N" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """o" | ||
.Replacement.Text = """O" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """p" | ||
.Replacement.Text = """P" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """q" | ||
.Replacement.Text = """Q" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """r" | ||
.Replacement.Text = """R" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """s" | ||
.Replacement.Text = """S" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """t" | ||
.Replacement.Text = """T" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """u" | ||
.Replacement.Text = """U" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """v" | ||
.Replacement.Text = """V" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """w" | ||
.Replacement.Text = """W" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """x" | ||
.Replacement.Text = """X" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """y" | ||
.Replacement.Text = """Y" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
With Selection.Find | ||
.Text = """z" | ||
.Replacement.Text = """Z" | ||
.Forward = True | ||
.Wrap = wdFindContinue | ||
.Format = False | ||
.MatchCase = False | ||
.MatchWholeWord = False | ||
.MatchWildcards = False | ||
.MatchSoundsLike = False | ||
.MatchAllWordForms = False | ||
End With | ||
Selection.Find.Execute Replace:=wdReplaceAll | ||
End Sub | ||
|
Oops, something went wrong.