Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Reading & manipulating the Excel data programatically in C# progra

Hi

I am trying to open an existing excel file through my C# application and
reading the data in the excel file then I need to format the data
programatically then put the data back in to excel file on some other cell.

I am able to assign the cell values but can not access and format it. i.e
WorkSheet.Cells[1,2] = WorkSheet.Cells[4,4]; // working fine.
MessageBox.Show(WorkSheet.Cells[4,4].ToString()); // Shows as
'System.__ComObject' as message.

Couldn't get how to handle the cells data. I am using C# and referenciing
Excel 11.0 object library.

Any help would be appreciated.

thanks,
-Ram.
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
Help with manipulating data in excel? jock Excel Discussion (Misc queries) 3 July 29th 08 03:24 PM
manipulating SQL data through Excel Gentian Hila Excel Programming 2 August 28th 06 09:36 PM
Need help using VBA to compare data in Excel columns, then manipulating data Sam Hill Excel Programming 0 May 8th 06 05:55 PM
C:\Progra~/MI1933~1\Office\SETUP\Off97std.stf is missing or corru. LaChapelle4d Setting up and Configuration of Excel 1 November 6th 05 01:12 AM
Training on Manipulating Data in Excel Rufus Excel Discussion (Misc queries) 1 October 18th 05 05:07 AM


All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"