Skip to content

Commit

Permalink
Update1 (#1)
Browse files Browse the repository at this point in the history
* Added updated menu

* Added symbols for lambda and ceiling

* Update README.md
  • Loading branch information
aw-leigh authored Nov 15, 2018
1 parent 931a078 commit 3592cb9
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
31 changes: 26 additions & 5 deletions LogicSymbolsNew.frm → LogicSymbolsUpdated.frm
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} LogicSymbolsNew
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} LogicSymbolsUpdated
Caption = "UserForm1"
ClientHeight = 4650
ClientHeight = 3615
ClientLeft = 120
ClientTop = 465
ClientWidth = 5295
OleObjectBlob = "LogicSymbolsNew.frx":0000
ClientWidth = 4365
OleObjectBlob = "LogicSymbolsUpdated.frx":0000
StartUpPosition = 1 'CenterOwner
End
Attribute VB_Name = "LogicSymbolsNew"
Attribute VB_Name = "LogicSymbolsUpdated"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub CommandButton1_Click()
Selection.InsertSymbol CharacterNumber:=172, Font:="Cambria Math", Unicode:=True, Bias:=0
Word.Application.Activate
Expand Down Expand Up @@ -96,6 +97,18 @@ Selection.InsertSymbol CharacterNumber:=215, Font:="Cambria Math", Unicode:=True
Word.Application.Activate
End Sub

Private Sub CommandButton23_Click()
Selection.InsertSymbol CharacterNumber:=8968, Font:="Cambria Math", Unicode:=True, Bias:=0
Selection.InsertSymbol CharacterNumber:=8969, Font:="Cambria Math", Unicode:=True, Bias:=0
Word.Application.Activate

End Sub

Private Sub CommandButton24_Click()
Selection.InsertSymbol CharacterNumber:=955, Font:="Cambria Math", Unicode:=True, Bias:=0

End Sub

Private Sub CommandButton3_Click()

Selection.InsertSymbol CharacterNumber:=8744, Font:="Cambria Math", Unicode:=True, Bias:=0
Expand Down Expand Up @@ -137,3 +150,11 @@ Private Sub CommandButton9_Click()
Selection.InsertSymbol CharacterNumber:=8801, Font:="Cambria Math", Unicode:=True, Bias:=0
Word.Application.Activate
End Sub

Private Sub Label3_Click()

End Sub

Private Sub UserForm_Click()

End Sub
Binary file renamed LogicSymbolsNew.frx → LogicSymbolsUpdated.frx
Binary file not shown.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ This is a basic menu I created to easily insert logic and set symbols in MS Word

[GIF Example](https://i.imgur.com/qoi1XTd.gifv)

### Update (Nov 15, 2018)
I compressed the menu and added symbols for lambda and ceiling, please see the below image.

[Update](https://imgur.com/a/SMzb8UD)

If you've installed the old menu and wish to upgrade:

1. Follow instruction block 2 below to import the new menu
2. Open the Macros menu by going to Developer > Macros
3. Highlight "LogicSymbolsShow" and choose "Edit..."
4. Replace "LogicSymbolsNew" with "LogicSymbolsUpdated", save, and exit the window.


## Instructions

### 1. Enable Developer Console in Word
Expand All @@ -20,7 +33,7 @@ This is a basic menu I created to easily insert logic and set symbols in MS Word
1. In the "Developer" tab, select "Visual Basic"
2. In the Project pane (top left corner), expand "Normal"
3. Right click on the "Forms" folder, and select "Import File..."
4. Select "LogicSymbolsNew.frm" and press okay.
4. Select "LogicSymbolsUpdated.frm" and press okay.

### 3. Add a macro to open the logic symbols menu

Expand All @@ -33,7 +46,7 @@ Sub LogicSymbolsShow()
' LogicSymbolsShow Macro
'
'
LogicSymbolsNew.Show vbModeless
LogicSymbolsUpdated.Show vbModeless
End Sub
```

Expand Down

0 comments on commit 3592cb9

Please sign in to comment.