Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You should investigate the Application.AutomationSecurity property. It may
do what you want. See Help for this method in the VBE. -- Jim "Arnaud" wrote in message ... Hi, I have found an article in msdn to open excel XLS/XLA file but I want it start with disable macro. // C# Excel.Workbook wb = ThisApplication.Workbooks.Open(@"c:\YourPath\YourW orkbook.xls", Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); any help appreciated thx Arnaud |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
C# open xla file with automation | Excel Programming | |||
Disable macro in excel automation with VC++/Win2k | Excel Programming | |||
Desktop shortcut to a named Excel file - every time I open it adds a "1" to the file name - how to disable? | Setting up and Configuration of Excel | |||
Disable macro through automation | Excel Programming |