With a Word ContentControl DatePicker how do i get the value?

后端 未结 1 1955
暖寄归人
暖寄归人 2020-12-21 06:06

I have a ContentControl that is a DatePicker in a word document. I\'m trying to use it to populate some value in a code behind but I cant seem to get the value out of it.

相关标签:
1条回答
  • 2020-12-21 06:59

    Is this what you are trying?

    Private Sub Document_ContentControlOnExit(ByVal ContentControl _
    As ContentControl, Cancel As Boolean)
        MsgBox ContentControl.Range.Text
    End Sub
    

    SNAPSHOT

    enter image description here

    0 讨论(0)
提交回复
热议问题