Replies |
Santhiram
Posted on: 5/26/2012 1:53:38 PM
|
Level: Starter | Status: [Member] | Points: 25
|
Dim newDoc As New Word.Document
newDoc = WordApp.Documents.Add
newDoc.SaveAs("My new Document")
Is this u want?
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
but in my application has saveAs2 and its throws error..
Regards,
Singaravel M
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
i added microsoft word object library 9.
Regards,
Singaravel M
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
my reference is correct?
Regards,
Singaravel M
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Santhiram
Posted on: 6/1/2012 6:06:02 PM
|
Level: Starter | Status: [Member] | Points: 25
|
This method can be used only in Word 2010 projects.Which version is your Word Document.For complete refernce u can see this link
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.word.documentbase.saveas2.aspx
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
i m using all versions word 2003 2007 2010..
Regards,
Singaravel M
Sakthi.Singaravel, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|