C
camilla
Hi
I have a template with refernce to another template which contains different
sections. I want to select one of teh secions, copy and paste it in to the
document based on the first template. I attache the second template with "
Set vbProj = ActiveDocument.VBProject
vbProj.References.AddFromFile "C:\Mallar\Samlingsmall.dot"" in an
autonewmacro.
I guess I need to start with something like this:
For x = 1 To Word.Templates.Count
If Templates(x).Name = "samlingsmall.dot" Then
num = x
Exit For
End If
Next x
and then
templates(num).????? (the code to select the section) but I cant find out
the code.
Does anyone know how I can do that?
Regards
Camilla
I have a template with refernce to another template which contains different
sections. I want to select one of teh secions, copy and paste it in to the
document based on the first template. I attache the second template with "
Set vbProj = ActiveDocument.VBProject
vbProj.References.AddFromFile "C:\Mallar\Samlingsmall.dot"" in an
autonewmacro.
I guess I need to start with something like this:
For x = 1 To Word.Templates.Count
If Templates(x).Name = "samlingsmall.dot" Then
num = x
Exit For
End If
Next x
and then
templates(num).????? (the code to select the section) but I cant find out
the code.
Does anyone know how I can do that?
Regards
Camilla