LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Excel object library method to open a document in safe mode?

On Jan 8, 5:11*am, Shasur wrote:
The following can give you a hint

* * * * * * * * System.Diagnostics.Process.Start("Excel.exe", "/Safe");
* * * * * * * * oXL =
(Excel.Application)Marshal.GetActiveObject("Excel. Application");


Thank you!

As there may be several instances of Excel running, I still need to
figure out how to use ProcessId (or something) to get the right one,
but you've given me enough to get rolling.


Thanks again!

sff
 
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
Excel Safe Mode [email protected] Excel Discussion (Misc queries) 1 November 7th 08 04:48 PM
Excel 2007 trial version does not open except in Safe Mode Carol Setting up and Configuration of Excel 2 January 18th 07 10:19 PM
Excel locks up - reloads in SAFE mode quartz[_2_] Excel Programming 0 October 17th 06 02:18 PM
Open excel in safe mode? Bob Vance Excel Programming 2 July 4th 04 04:40 AM
Excel only runs in Safe Mode. Michael Koerner Excel Programming 5 September 14th 03 01:30 PM


All times are GMT +1. The time now is 09:08 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"