LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default how to open xla file in automation way with disable macro

Hi,

I have found an article in msdn to open excel XLS/XLA file but I want it
start with disable macro.
Is there a paramater to deactive it ?

// 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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to open xla file in automation way with disable macro Arnaud Excel Programming 1 September 9th 05 03:03 PM
C# open xla file with automation Arnaud Excel Programming 1 September 8th 05 04:47 PM
Disable macro in excel automation with VC++/Win2k mbozzaotre Excel Programming 3 June 14th 05 08:02 PM
Disable macro through automation Scott Wallace Excel Programming 2 October 15th 03 07:26 PM


All times are GMT +1. The time now is 06:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"