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: 68
Default Application.Calculation exception

I assume you're using .NET for this?

Have you tried late binding to see if you get the same result? It would
look something like:#

Dim objExcel As Object
ObjExcel=CreateObject("Excel.Application")
....



--
Regards,


Bill Lunney
www.billlunney.com

"Luca Orlandi" wrote in message
...
I wish to programmaticaly set the calculation method to
manual; my code is something like:

Excel.Application eApp = new Excel.ApplicationClass();
eApp.Calculation =
Excel.XlCalculation.xlCalculationManual;

But an exception is thrown:

Exception: System.Runtime.InteropServices.COMException
Message: Exception from HRESULT: 0x800A03EC.
Source: Interop.Excel
at Excel.ApplicationClass.set_Calculation
(XlCalculation RHS)



 
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
sum of rows with exception of row x, y, z... lydia's Excel Discussion (Misc queries) 6 September 5th 09 03:54 PM
Sum Based on Exception Cue Excel Discussion (Misc queries) 7 May 21st 08 12:31 AM
Application.Calculation Problems Jive Excel Worksheet Functions 2 February 7th 08 02:21 PM
WHAT ARE THE CAUSES FOR 'EXCEPTION ERROR ' CAPTGNVR Excel Discussion (Misc queries) 0 January 29th 07 06:04 PM
handle #VALUE exception Andis Cirulis Excel Worksheet Functions 2 November 13th 06 11:32 AM


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