Skip to content

Commit

Permalink
Update M_omExcel.def
Browse files Browse the repository at this point in the history
add SelectionUpdateBold Function
  • Loading branch information
RaoulJacobs authored Mar 27, 2023
1 parent a34191f commit 8d4180a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions M_omExcel.def
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Public Sub AutoFit()
omExcelFunctions.AutoFitColumns xlWB.ActiveSheet
omExcelFunctions.AutoFitRows xlWB.ActiveSheet
End Sub
Public Sub SelectionUpdateBold(bold As Boolean)
UpdateFontOnSelection xlWB.ActiveSheet, bold
End Sub
Private Sub Class_Terminate()
Set xlWB = Nothing
xlApp.Quit
Expand Down

0 comments on commit 8d4180a

Please sign in to comment.