PC Review


Reply
Thread Tools Rate Thread

Adding line to a template word document with C#

 
 
=?Utf-8?B?R2lkaQ==?=
Guest
Posts: n/a
 
      27th Dec 2006
Hello,

I've a C# windows application that open a word document (a ready template),
and I've a list of customers. I know how to open the document and how to type
a line into it, but i can't find how to write the line in a specific location.

for example, my doucment looks like this:

date: 12/27/2006
Title: BLA BLA BLA BLA
For:
customer_name

BLA
BLA
BLA

what i want to do, is to change the customer name for each customer i have
and then print this doucment, my question is how can it be done?

Thanks,
Gidi.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2lkaQ==?=
Guest
Posts: n/a
 
      27th Dec 2006
I think i found the solution.
I'm using the MoveDown property.

"Gidi" wrote:

> Hello,
>
> I've a C# windows application that open a word document (a ready template),
> and I've a list of customers. I know how to open the document and how to type
> a line into it, but i can't find how to write the line in a specific location.
>
> for example, my doucment looks like this:
>
> date: 12/27/2006
> Title: BLA BLA BLA BLA
> For:
> customer_name
>
> BLA
> BLA
> BLA
>
> what i want to do, is to change the customer name for each customer i have
> and then print this doucment, my question is how can it be done?
>
> Thanks,
> Gidi.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word document loses attached template when saved in Sharepoint document library Vadim Rapp Microsoft Word Document Management 0 2nd Dec 2008 07:42 PM
remove dashed line under address line in word document =?Utf-8?B?anVzdGxlYXJuaW5n?= Microsoft Word Document Management 10 21st Mar 2006 08:56 PM
Editing and adding a line into a template already made? =?Utf-8?B?R2FpbA==?= Microsoft Word Document Management 1 21st Oct 2005 02:43 PM
Linking Access line by line to a Word Document =?Utf-8?B?RGlhbm4=?= Microsoft Access External Data 1 17th Feb 2005 04:41 PM
adding subject line to e-mail template marcus Microsoft Outlook 0 22nd Dec 2003 03:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:42 AM.