Delete specific page in Word from uipath

Any way i can delete specific pages in Word Doc?

Or is there a way to delete blank pages?

I tried the below code, but it even remove blank lines from the documents. which is not supposed to.

 Dim App As Microsoft.Office.Interop.Word.Application = New Microsoft.Office.Interop.Word.Application()
    Dim oDoc As Microsoft.Office.Interop.Word.Document = App.Documents.Open(docPath)

For Each paragraph As Microsoft.Office.Interop.Word.Paragraph In oDoc.Paragraphs
        If paragraph.Range.Text.Trim() = String.Empty Then
            paragraph.Range.Select()
            App.Selection.Delete()
        End If
Next
      oDoc.Save()
    oDoc.Close()

App.Quit()

Hi @TyraS

Please look at this. I believe this might help

cheers