Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent help needed please
Set objword = New Word.Application
Set objDoc = objword.Documents.Open(DocumentPath + "\ECB_Document.doc") objword.Visible = True objword.Activate objword.Run ("FillinDocument") objDoc.Close _ SaveChanges:=Word.WdSaveOptions.wdSaveChanges objword.Quit Set objword = Nothing I am trying to call a word macro from excel(office 2003) it keeps on giving me errors.. can any one help |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent help needed please
On Mar 22, 10:31*pm, sriram wrote:
*Set objword = New Word.Application * *Set objDoc = objword.Documents.Open(DocumentPath + "\ECB_Document.doc") * objword.Visible = True * objword.Activate * objword.Run ("FillinDocument") * objDoc.Close _ * * * * * *SaveChanges:=Word.WdSaveOptions.wdSaveChanges * objword.Quit * Set objword = Nothing I am trying to call a word macro from excel(office 2003) it keeps on giving me errors.. can any one help I think you have to state the workwook name, module name and macro name for example objwor.Run "Normal.NewMacros.FillinDocument" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Urgent help needed please | Excel Discussion (Misc queries) | |||
URGENT HELP NEEDED | Excel Discussion (Misc queries) | |||
Urgent help needed | Excel Worksheet Functions | |||
Urgent Help needed | Excel Discussion (Misc queries) | |||
URGENT, help needed. | Excel Programming |