Skip to Content
0
Former Member
May 14, 2008 at 06:02 AM

Output in word file: Methods or the class name required

37 Views

Hi Gurus,

I am trying to get output of the program in a word document directly without any Script or Report in between.

Steps i follow are:

Fetching the data

Invoking word

Writing the data into the word file created using methods like 'tablegridlines', 'insert' etc.

When i get this data in the word file , in between every two lines i get one empty (extra) line.

What can i do to remove that extra line in between. Everything has to be done in my own program using methods.

Is there any method to delete the line comming between two lines i have created.

Is there any method to convert the layout of the word file created to "Landscape".

I would appreciate if somebody could tell me the class which has the methods like 'tablegridlines'

'insert' 'viewheaderfooter' etc which are used for word output in this case.

The object that i have created is of the type ole2_object.

Helpful answers would certainly be rewarded.

Thanks

Suruchi

Edited by: Suruchi Mahajan on May 14, 2008 6:04 AM