Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am stumped. I am running the below code to print a mail merge. Excel stars word , the mail merge macro in word runs and prints but Excel opens debugger and halts at .Documents.Open ("D:\Duane Docs\Inspection_Report_browser_Merge2008_Fields.do c") witrh the comment "Word can not open this file" What am I missing here. Thanks in advance Duane Sub ControlWordFromXL() Dim objWord As Word.Application 'Set objWord = New Word.Application With objWord .Visible = True .Activate .WindowState = wdWindowStateMaximize .Documents.Open ("D:\Duane Docs\Inspection_Report_browser_Merge2008_Fields.do c") End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Excel count of 1 word if found in multi-word cells of column | Excel Worksheet Functions | |||
Copy from Word to Excel, and retain indent, plus word wrap | Excel Discussion (Misc queries) | |||
Import cells from excel into word and create multiple word docs | Excel Programming | |||
Printing Word Document using Excel Programming hangs Word | Excel Programming | |||
How do I determine a Function's callling Row Number. | Excel Programming |