hi
i've got a table in my startup folder template
i need to programattically insert it into the header of a some other
templates. i can't seem to find anything on this.
Header.Range.Text = "Text"
this is not sufficient fo this right? as i need to insert the whole
table object with contents into the header
please help
thanx
riyaz
rmanchu@gmail.com - 17 Nov 2005 07:41 GMT
hi
i've managed to solve this partially
Word.Application.Documents("BaseRM").Bookmarks("FormHeader").Range.Select
Word.Application.Selection.Copy
If Not wDoc.ProtectionType = wdNoProtection Then wDoc.Unprotect
wDoc.Select
wDoc.ActiveWindow.View.Type = wdPrintView
wDoc.ActiveWindow.View.SeekView = wdSeekPrimaryHeader
Word.Application.Selection.Paste
wDoc.ActiveWindow.View.Type = wdNormalView
wDoc.Protect wdAllowOnlyFormFields, True
wDoc.ActiveWindow.View.Type = wdPrintView
now the problem is, i have to keep my startup template "baseRM"
open???? how to solve this?
thanx again
riyaz