This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
while i am opening that file I have add a table as header to '.doc' file which was opened as i told earlier.
in that table I have rows and cells.
vb script.please tell me a best solution to this.I am ataching code my code,below.
corresponding ms word document.*/
objWord = new ActiveXObject("Word.Application");
objDoc = objWord.Documents.Add("http://<%=request.getServerName()+":"+request.getServerPort()%>/qms/loaddoc/<%=docid%>.<%=ftype%>");
objWord.Visible = true;
objSelection = objWord.Selection;
tbl = objDoc.Tables.Add(objWord.Selection.Range,1,4);
var ccell = tbl.cell(1,2).range;
ccell.Font.Bold = false;
ccell.Font.Size = "5";
ccell.innerHTML =objWord.Selection.TypeText("Company Name:"+"<%=Compbean.getCompName()%>");