помогите, пожалуйста, переписать такой код с VBA на C# (OPenXML)
Sub Main(ByVal startVal As Double, ByVal endVal As Double)
ActiveDocument.Range.SpellingChecked = True
ActiveDocument.Range.GrammarChecked = True
ActiveDocument.ShowSpellingErrors = False
ActiveDocument.ShowGrammaticalErrors = False
ActiveDocument.Application.ScreenUpdating = False
ActiveWindow.View.ShowFieldCodes = False
ActiveDocument.EmbedTrueTypeFonts = True
On Error GoTo ErrorHandler
Call Macros(startVal, endVal)
ErrorHandler:
ActiveDocument.Range.HighlightColorIndex = wdNoHighlight
ActiveDocument.UndoClear
ActiveDocument.Application.ScreenUpdating = True
End Sub