Hi all,
Recently I got one requirement, to prepare word & excel file through automated batch process. I am new to working with word using C#
Here is my steps & problem... Please guide me.
1) I have word template file (.dot) file
2) I have couple of predefine bookmarks in this template (.dot) file
3) From c# I am opening this template and replacing bookmarks value with actual value
For example following are my bookmark in (.dot) file (template file)
A_B_C_D P_Q_R
C_Y_T_Z R_V_N
R_M_W_Q J_E_K
now based on condition i am putting different value for these
bookmark. Also I am checking if the
actual value for "P_Q_R" bookmark is null I am checking actual value for "R_V_N" bookmark
and replacing actual value of "A_B_C_D" with "C_Y_T_Z" & "P_Q_R" with "R_V_N" respectively
Now based on my left side bookmark actual text length the right side alignment not coming properly.
for example
Hello h r u 100.55
fine 54.12
C# programming 102.85
something here if too long 211.53
I dont want to use table
Highly appreciate your help & any suggestion; I am really stuck with
this problem,
thanks a lot
pbr