Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Excel Sheet cell format

Rakesh,
Record a macro in Excel of your actions, then convert to C++.

NickHK

"Rakesh" wrote in message
...
Hi All,

I need help.
I am creating Excel files using VC++ MFC programming and for that I have
used MS Office type library.

Problem occurs when a large number($124,121.50) written in any cell of

excel
sheet.
If i open the file Excel shows it as #########. Number is stored but not
shown in correct form. If I increase the width of the cell Excel shows the
number correctly.

I want if any one know how I can programmatically set the auto width of

the
cell according to its number width?

Plz reply as soon as possible.

Best Regards,




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Sheet cell format

Hi All,

I need help.
I am creating Excel files using VC++ MFC programming and for that I have
used MS Office type library.

Problem occurs when a large number($124,121.50) written in any cell of excel
sheet.
If i open the file Excel shows it as #########. Number is stored but not
shown in correct form. If I increase the width of the cell Excel shows the
number correctly.

I want if any one know how I can programmatically set the auto width of the
cell according to its number width?

Plz reply as soon as possible.

Best Regards,


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
Custom Format Cell with Reference to another sheet enna49 Excel Worksheet Functions 2 January 7th 10 06:13 AM
Carrying format with cell reference to another sheet. [email protected] Charts and Charting in Excel 1 June 2nd 07 07:43 PM
how do I format the sheet so that I may click on 1 cell at a time Nikki B Excel Worksheet Functions 1 February 24th 06 06:35 PM
copy a formatted cell to another sheet as text without format loliemargaret Excel Discussion (Misc queries) 4 October 6th 05 06:59 PM
How do I copy a print format from sheet to sheet in excel ? kernat Excel Discussion (Misc queries) 1 July 22nd 05 04:59 PM


All times are GMT +1. The time now is 03:52 PM.

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"