Matthieu Posted July 18, 2005 Report Share Posted July 18, 2005 Hi, I wanted to open a new document based on a template file (ex . microsoft word document, ".dot"). I used the function "Program launch". But ME open the template version (.dot) and not a new document (.doc). How can I proceed? thank for your help Matthieu Quote Link to comment Share on other sites More sharing options...
kevin Posted July 18, 2005 Report Share Posted July 18, 2005 Does this help: http://pgmacros.com/community/index.php?sh...108&hl=template? Quote Link to comment Share on other sites More sharing options...
Matthieu Posted July 19, 2005 Author Report Share Posted July 19, 2005 Hi, Thank a lot for your faster and pertinent anwser. It's working perfectly. I'm angry on me because I did many search on this forum but ... apparently not enough.. Cordially, Matthieu Quote Link to comment Share on other sites More sharing options...
kevin Posted July 19, 2005 Report Share Posted July 19, 2005 You are welcome. I'm glad it is now working. Quote Link to comment Share on other sites More sharing options...
Matthieu Posted July 19, 2005 Author Report Share Posted July 19, 2005 Hi again, Like I'm working step by step, the problems come in also step by step. I need to open also a document based on "xlt" but the tips "/t" in front of the path doesn't work. I made a search on this forum and on microsoft newsgroups without result. HAve you some idea? Quote Link to comment Share on other sites More sharing options...
kevin Posted July 19, 2005 Report Share Posted July 19, 2005 This may be more of an Excel issue rather than Macro Express and I am not an Excel expert. Macro Express allows you to launch a program, including Excel, with the proper command line parameters. If Excel doesn't offer the command line options you need, you may need to open excel and then click something like File and New from Template. A google search turned up several interesting web pages. Perhaps one or more of them will help. Here are some links talking about using .xlt files in Excel: http://office.microsoft.com/en-us/assistan...0548151033.aspx http://www.meadinkent.co.uk/xlconfigure.htm http://www.rdg.ac.uk/ITS/info/training/notes/excel/temp/ http://bayofficecomputing.com/news_default_settings.htm http://www.hhassociates.co.uk/services/hum...ng_ms_excel.htm http://www.bettersolutions.com/excel/61224...25169182205.htm Here is a Microsoft article titled 'Customize How Excel Starts': http://office.microsoft.com/en-us/assistan...1993911033.aspx This Microsoft article documents the Startup Switches used in Excel: http://support.microsoft.com/default.aspx?...kb;en-us;291288 Quote Link to comment Share on other sites More sharing options...
Matthieu Posted August 1, 2005 Author Report Share Posted August 1, 2005 Hi, First of all, thank you for your research. After having reviewed almost all the links, I tried not to more use the double quot marks (") which surrounded the location of the file. In conclusion: for a "dot" file : "/tContemporary Fax.dot" working for a "xlt" file : /t name of the file.xlt !!! don't use the double quot mark and put a space between the start command and the filename. Matthieu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.