DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: Accessing the Value from a dropdownlist that is in a cell in a Word Table

Your code has a lot of problems, as I mentioned briefly in the comments. Try to see if the code below worked for you.

Private Sub CommandButton1_Click()
    Dim SurveyData
    
    
    Dim Tb1, Tb2 As word.Table
    Dim irow, icol, i, j, Tabnum As Integer
    Dim Strng As String
    Dim RowCount, Responsevalue As

Top comments (0)