(defun vla-setrowtextstyle (tbl row sty / col)
;; Tharwat - Date: 28.Feb.2017 ;;
(if (and (= (type tbl) 'VLA-OBJECT)
(= (vla-get-objectname tbl) "AcDbTable")
(>= (vla-get-rows tbl) row)
(setq col -1)
)
(repeat (vla-get-columns tbl)
(vla-setcellstyle tbl (1- row) (setq col (1+ col)) sty))
)
(princ)
)