Export the content of richtext

Hi

I want to export all content of richtext to excel. This includes attachments.

I am extracting the attachment and trying to put that to particular cell.

Call excelWorksheetObject.OLEObjects.Add({Filename:=“C:\name.xls”},{ Link:=False},{ DisplayAsIcon:=True},{ IconFileName:=“packager.exe”},{ IconIndex:=0},{ IconLabel:=“C:\name.xls”}).Select

this is the code i am using.

But it is not working. It gives an error unable to get add property to OLEObjects.

Any Help or sample code will be great Help

Regards

Rajendra Madhwa

Subject: Why do so many people ask Excel questions in here?

Is Microsoft’s help so inadequate that people think they have a better chance of getting help by posting in forums devoted to other companies’ products?