ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Custom Number Format (https://www.excelbanter.com/excel-programming/425726-custom-number-format.html)

Venkata Vijay

Custom Number Format
 
Hi

I need to handle the custom number format in excel programming and as such i
need any generalized way to handle all types of custom format

Can any one suggest me on this?

Venkata Vijay


Jacob Skaria

Custom Number Format
 
Could yo please clarify your question with examples/

"Venkata Vijay" wrote:

Hi

I need to handle the custom number format in excel programming and as such i
need any generalized way to handle all types of custom format

Can any one suggest me on this?

Venkata Vijay


Venkata Vijay[_2_]

Custom Number Format
 
Hi

Basically i will get excel sheets which contains different custom number
formats and while trying to read data using macro, they are getting changed

For Example if in a cell i give value ="2008" and set custom number format
to yyyy, after reading the data from macro, its value is getting changed to
1905

Similar observations found with some other type of custom number formats

I need a generalized way by which i can handle this issue

Venkata Vijay

"Jacob Skaria" wrote:

Could yo please clarify your question with examples/

"Venkata Vijay" wrote:

Hi

I need to handle the custom number format in excel programming and as such i
need any generalized way to handle all types of custom format

Can any one suggest me on this?

Venkata Vijay


Gord Dibben

Custom Number Format
 
2008 alone is interpreted by Excel as a number.

The serial number 2008 is June 30, 1905


Gord Dibben MS Excel MVP

On Wed, 18 Mar 2009 02:50:18 -0700, Venkata Vijay
wrote:

For Example if in a cell i give value ="2008" and set custom number format
to yyyy, after reading the data from macro, its value is getting changed to
1905




All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com