none
How do I open a document from template in VBA RRS feed

  • Question

  • Hi,

    I have an application which contains a form, that when the create button is pressed it should

    open a document from template and rename it to a specified name.  Can someone please tell me how to do this?

    I have tried copying the template and renaming but this causes an error when opening the document.

    str_copyFileFrom = gstr_subversionRequiredFiles +

    "\readyset.css"

    str_copyFileTo = str_workingDirectory +

    "\readyset.css"

     

    File.Copy(str_copyFileFrom, str_copyFileTo)

    Is there a class or object that I can use to do this?

     

    Thank you

     

    Monday, October 31, 2011 12:19 PM

All replies