PC Review


Reply
Thread Tools Rate Thread

Custom Number Format

 
 
Venkata Vijay
Guest
Posts: n/a
 
      18th Mar 2009
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

 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      18th Mar 2009
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
>

 
Reply With Quote
 
Venkata Vijay
Guest
Posts: n/a
 
      18th Mar 2009
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
> >

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      18th Mar 2009
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
<(E-Mail Removed)> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert number to % using only custom number format challenge Brotherharry Microsoft Excel Misc 7 2nd Jun 2009 06:29 PM
Custom number format for driver's license number excel user Microsoft Excel Misc 10 16th Jul 2008 10:05 PM
Moving custom number format to NUMBER Doug Boufford Microsoft Excel Setup 3 23rd Jul 2007 11:58 PM
how do I add phone number format as a permanent custom format? frustratedagain Microsoft Excel Misc 3 4th Feb 2006 03:52 AM
Custom number format always defaults last number to 0. =?Utf-8?B?c2N1YmFkYXZl?= Microsoft Excel Misc 2 15th Jun 2005 10:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:32 AM.