Word & Excel Automation: Open doc/books without default "auto" execs, macros, templates, etc..
Posted on 2011-05-08
I am using automation to start Excel and Word and just use their respective Documents.Add() fucntion to open them up with blank documents/workbooks. But, I don't want those applications to fireoff any auto macros or open up large default templates the user may have set in their options?
When I call Word.Documents.Add() and Excel.Workbooks.Add(), do they load the whatever the user has set as their normal.dot, personal.xls and all the other default templates etc..? If so, how can I prevent that from happening when automating these Office apps?
Thanks in advance