Dsofile - SummaryProperties Template

T

timmynew11

Does anyone know if the SummaryProperties.Template can be changed? And if
so, how to do it? I keep trying to set it to a string with a valid location
and it returns Run-Time Error (450) "Wrong number of arguments or invalid
property assignment." Please help.
 
J

Jonathan West

timmynew11 said:
Does anyone know if the SummaryProperties.Template can be changed? And if
so, how to do it? I keep trying to set it to a string with a valid
location
and it returns Run-Time Error (450) "Wrong number of arguments or invalid
property assignment." Please help.

IIRC it is a read-only property, so you can't change it.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
T

timmynew11

Actually you can, I have the code to do it with the earlier version of the
DSOfile, but since Microsoft changed it and the properties it no longer
works. I am just looking for an updated way to do it without opening up the
microsoft word document.
 
J

Jonathan West

timmynew11 said:
Actually you can, I have the code to do it with the earlier version of the
DSOfile, but since Microsoft changed it and the properties it no longer
works. I am just looking for an updated way to do it without opening up
the
microsoft word document.

Sorry, the Template property is read-only in the old version of DSOFile as
well. You can only change the Template property by opening the document and
then changing the AttachedTemplate property.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top