Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am creating Auto mail merge Functionality using active X Component Client side using java script.

Issue i m facing the last field is almost hide from the template.when i increase the font size after selecting that row it will appear but by default, its hidden.

One solution i try that inserting 2 enter key to the end manually to the template will solve te problem.But its not possible to add enter key by javascirpt.

I tried These things but won't work for me


SQL
//var Original = wordDoc.Content.Text;
        //var op = Original.concat("\r\n\r\n\r\n");
        //wordDoc.Content.Text = op;
        //var dd = objWord.Application.Selection.EndKey(6);
        //objWord.Application.Selection.WordInsertBreak(6);
        //objWord.ActiveDocument.Selection.WordInsertBreak(6);
        //objWord.ActiveDocument.WordInsertText("Insert signature");
 
So please help what to do.Its urgent its almost 3 days searching the small thing over net.
 
Any, help will be appreciated.
 
Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900