Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default 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


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
format cell custom Number format Dan Excel Worksheet Functions 2 January 26th 10 05:29 PM
convert number to % using only custom number format challenge Brotherharry Excel Discussion (Misc queries) 7 June 2nd 09 06:29 PM
Custom number format for driver's license number excel user Excel Discussion (Misc queries) 10 July 16th 08 10:05 PM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
Format a cell with a custom number format Armor Excel Worksheet Functions 4 January 29th 06 11:25 PM


All times are GMT +1. The time now is 06:47 PM.

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

About Us

"It's about Microsoft Excel"