Easiest way to writing data to word using c#, I use it long time, name Spire.Doc, may help to you.
Sorry I forgot the URL.
http://www.e-iceblue.com/Introduce/word-for-net-introduce.html
Neil Humphries wrote:
Hyperlink opens word template for editting, not as new document
28-Jan-10
I have created hyperlinks to Word documents and templates in Excel. Clickin
the hyperlinks causes the templates to open in Word for editting. I need t
have the templates open new documents based on the templates. How can I d
this?
Previous Posts In This Thread:
Hyperlink opens word template for editting, not as new document
I have created hyperlinks to Word documents and templates in Excel. Clickin
the hyperlinks causes the templates to open in Word for editting. I need t
have the templates open new documents based on the templates. How can I d
this?
hi, Neil !
hi, Neil
create shortcuts (.lnk) to the template document and hyperlink to that shortcu
see ->
http://support.microsoft.com/kb/27862
hth
hector.
I have been there, done that, and it did not work.
I have been there, done that, and it did not work
If I just type the shortcut name as "Shortcut to Mytemplate.dotm" I get
file not found error
If I type the shortcut name as "Shortcut to Mytemplate.dotm.lnk" it open
the template file for editting, not a new document based on the template
I am using Excel as a menu for 100 users so they do not have to know wher
the files and templates are kept on the server
:
hi, Neil !perhaps using (protected) code ?
hi, Neil
perhaps using (protected) code ?..
Sub NewDocTemplateBased(
With CreateObject("word.application"
..Documents.Add
Template:="Location To Your\Template Name.dot",
NewTemplate:=False, DocumentType:=
..Visible = Tru
End Wit
End Su
hth
hector.
suggest
Easiest way to writing data to word using c#, I use it long time, name Spire.Doc, may help to you.
<a href=
http://www.e-iceblue.com/Introduce/word-for-net-introduce.html>Spire.Doc</a>
Submitted via EggHeadCafe - Software Developer Portal of Choice
AJAX Web Service Driven Customers Table With Customer Details
http://www.eggheadcafe.com/tutorial...en-customers-table-with-customer-details.aspx