Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default combobox fraction

I have a combobox populated with fractions that display properly.
After selection the fraction converts to a decimal, but the list
values are still fractions. How can i display the selected value as a
fraction?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combobox fraction

Can you show/tell us how you populated the ComboBox with your fractions?

Rick

wrote in message
...
I have a combobox populated with fractions that display properly.
After selection the fraction converts to a decimal, but the list
values are still fractions. How can i display the selected value as a
fraction?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default combobox fraction

On Mar 12, 5:04 pm, "Rick Rothstein \(MVP - VB\)"
wrote:
Can you show/tell us how you populated the ComboBox with your fractions?

Rick

wrote in message

...

I have a combobox populated with fractions that display properly.
After selection the fraction converts to a decimal, but the list
values are still fractions. How can i display the selected value as a
fraction?


Thanks


ya that was it, i figured it out yesterday. the populated values from
the cells were entered as 0 1/3 which shows in the formula bar as .
33333333 so it was already converted before being passed to the
routine... i fixed this by entering them as '1/3 and then converting
to a number in the routine

Thanks again
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
Show fraction as fraction even if answer is 1 Vin Sukhadia Charts and Charting in Excel 1 December 2nd 09 07:51 PM
Text fraction to fraction format brownti via OfficeKB.com Excel Worksheet Functions 1 February 1st 08 02:38 PM
How do I change fraction to fraction characters? cmcqueary2806 Excel Worksheet Functions 1 November 2nd 06 09:58 PM
fraction b166er Excel Worksheet Functions 5 August 3rd 06 06:30 PM
Whole Fraction MWH Excel Programming 5 September 1st 05 04:46 AM


All times are GMT +1. The time now is 08:02 AM.

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"