Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Exception from HRESULT: 0x800A03EC

Hi

The code that generates this error is the following:

public void SetBuffer2(object[,] buf, int firstRow, int firstColumn,
int upperBound0, int upperBound1, int wSheetIndex)
{
Excel.Worksheet wSheet = this.GetWorkSheet(wSheetIndex);
if (wSheet!=null)
{
Excel.Range range = (Excel.Range)wSheet.Cells[firstRow,
firstColumn];
range = range.get_Resize(upperBound0, upperBound1);
range.Value2 = buf; // <<<--- THIS LINE GENERATES THE ERROR
}
}


The bounds of the arrays are ok.
It seems that the error is raised because of some value that is
"longer" than accepted by the cell ( ? )
I'm trying to insert an approx 13KB -length text into some cell. I
mean, the value corresponding to some cell is a 13KB sized string.
If I truncate the string for that particular cell, to under 1KB,
everything goes with no problems at all.
I also found this problem discussed he

http://groups.google.ro/group/micros...a77ec8cd6ad468

But no solution :(

Any help?
Thanks in advance.

Reply
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
Exception from HRESULT: 0x800AC472 [email protected] Excel Discussion (Misc queries) 0 May 30th 06 09:01 PM
SUMIF with Exception of multiple Item Scorpvin Excel Discussion (Misc queries) 2 March 9th 06 05:48 PM
Error 0x800A03EC trying to set range value mdengler New Users to Excel 2 March 1st 06 01:22 PM
Exception Occurred excel form vba cclambie Excel Discussion (Misc queries) 0 December 9th 05 03:20 AM
Excel.Range.Name gives error an exception [email protected] Excel Discussion (Misc queries) 2 August 23rd 05 08:14 AM


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