#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Fraction

Fractions are listed in column B and I would like them to be expressed in
numbers (2 decimals) in Column A by using VBA. Could someone please help

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Fraction

Are the cells presently strings or jsut formated as fractions?

Highligt one of the cell and go to Format Menu - Cells - Number. If
Fractions are selected than change the formatging to numbers and set the
number to 2.

If the cells are strings then you have to remove the single quote in fron of
the number. If you copy these cells and paste special values the text will
get changed to numbers. Make sure yo paste into a diffferent cell then the
one originally copied.

"AlanW" wrote:

Fractions are listed in column B and I would like them to be expressed in
numbers (2 decimals) in Column A by using VBA. Could someone please help

Thanks

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
how to add 3/4 as a fraction Sean Excel Discussion (Misc queries) 1 November 9th 09 03:05 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
Whole Fraction MWH Excel Programming 5 September 1st 05 04:46 AM


All times are GMT +1. The time now is 10:57 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"