View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Harald Antonsen Harald Antonsen is offline
external usenet poster
 
Posts: 2
Default Problem getting excel to work in Visual Studio (C#)

Sorry, typo in my example code. Should ofcource be
rnd.Value2 = "Hello World";

Code still don't work! :)

//Harald Antonsen

-----Original Message-----
Hi,

I'm trying to develop en application in Vusial Studio

(C#)
towards excel. But I cannot get anything to work. Trying
to find a object (a command button) or even outputting
text to cell (rng.Value2("Hello world");) throws an
exception.

The exception have the message: HRESULT: 0x800A03EC.

What is wrong? I cannot find any information out there
that helps.

//Harald Antonsen :)
.