i am creating special menu on the MS word, i am trying to open new word page by clicking the button in the menu i created
the following is the code which is not working and its giving me error, ThisDocument is the name of the word form which need to be opened
CODE
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs) Handles Button1.Click
Dim frm As New ThisDocument
frm.Show()
End Sub
please advice