Code:
putdocx clear
putdocx begin
putdocx table tbl1 = (2,1)
putdocx table tbl1(1,1) = ("The first extracted value is `matrix1[1,1]'")
putdocx table tbl1(2,1) = ("The second extracted value is `matrix1[2,2]'")
putdocx save "tbl1", replace
putdocx clearEDIT: Found the solution in another similar question (of mine
).Code:
putdocx clear
putdocx begin
putdocx table tbl1 = (2,1)
putdocx table tbl1(1,1) = ("The first extracted value is `=matrix1[1,1]'")
putdocx table tbl1(2,1) = ("The second extracted value is `=matrix1[2,2]'")
putdocx save "tbl1", replace
putdocx clear
0 Response to How to extract matrix elements to Word table using putdocx table?
Post a Comment