Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ActiveDocument.Bookmarks("A_Bookmark").Range.Text = _
Userform1.Textbox1.Text
ActiveDocument.FormFields("Text1").Result = _
Userform1.Textbox1.Text
ActiveDocument.Tables(1).Cell(1,2).Range.Text = _
Userform1.Textbox1.Text
With Selection
[COLOR=red]' move to next cell, SAME row[/color red]
.MoveRight Unit:=wdCell
[COLOR=red]' CREATE new row with TWO columns[/color red]
.MoveRight Unit:=wdCell
[COLOR=red]' insert your field - this is in Cell(2,1)[/color red]
.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, _
Text:="SEQ stpxseq \n", _
PreserveFormatting:=True
[COLOR=red]' move selection into NEXT cell for
' user input[/color red]
.MoveRight Unit:=wdCell
End With
There is a falsehood here. You seem to think that the second cell in the row is created independently. This is not correct.I need the code to create the next cell in the next row and update it then create the 2nd cell in the row where the user will then type in there text.
Selection.MoveRight Unit:=wdCell