|
-
Aug 1st, 2006, 03:23 PM
#11
Thread Starter
Junior Member
Re: FOoter Looping Program
I referenced Microsoft word and even started a new Macro with the following case for word files...
Private Sub Workbook_Open()
Dim WRD As Word.Application
Set WRD = New Word.Application
WRD.Documents.Open ("c:\Baseline\EC - JIT TRAINING - July 25 2005 - v1.0.doc")
WRD.ActiveDocument.PageSetup
With WRD.ActiveDocument.PageSetup
.LeftFooter = "&Z&F"
End With
WRD.ActiveDocument.Save
RD.Quit
Set WRD = Nothing
End Sub
And I get an invalid property use message for the ActiveDocument.PageSetup code...
So Essentiallly Excel is still having trouble opening the Word Document..
Any suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|