2 Replies Latest reply: Aug 8, 2013 10:48 AM by m_moreno1992 RSS

    how to fix the row-height in excel using ole2

    Kanish
      hi
      I want to fix row height in excel using ole2.
      i wrote the below code but no effect. please help me.

      -------
      Arg := ole2.create_arglist;
           ole2.add_arg(Arg,1);
           rrow := ole2.get_obj_property(WorkSheet,'Rows',Arg);
           ole2.destroy_arglist(arg);
           ole2.set_property(rrow,'Height',50);
      ------------------

      kanish