Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2011, 01:04 PM
markg2 markg2 is offline 'Little fraction' stopped? Windows 7 'Little fraction' stopped? Office 2007
Expert
'Little fraction' stopped?
 
Join Date: Nov 2009
Location: Evergreen, CO
Posts: 344
markg2 is on a distinguished road
Default 'Little fraction' stopped?

Word '07



I added several more rows to an existing table using the tab key. In the column that I've been typing fractions as part of a phrase in each cell of the column that fraction auto changes to the small size. However, the fraction is not auto changing in the cells of the added rows.

1. I do not understand why this would occur simply by adding rows?

2. I cannot figure out how to 'turn back on' the auto shrink feature?

Mark
Reply With Quote
  #2  
Old 01-30-2011, 03:45 PM
macropod's Avatar
macropod macropod is offline 'Little fraction' stopped? Windows 7 32bit 'Little fraction' stopped? Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Mark,

The only in-built fractions in every font are ¼, ½ & ¾. Some fonts have support for thirds and eighths also, but anything else you have to create for yourself. And, whereas the in-built fractions consist of a single character, your own will consist of three or more characters. The following macro will convert your own fractions to an approximate visual representation of the in-built fraction characters. If you use it, I'd suggest not using the in-built fractions, so that the appearance is consistent throughout the document.
Code:
Sub Fraction()
Dim RngTmp As Range, StrFrac
With Selection
  StrFrac = Split(Selection.Text, "/")
  Set RngTmp = .Range
  With RngTmp
    .Font.Size = .Font.Size * 0.875
    .End = .Start + Len(StrFrac(0))
    .Font.Superscript = True
    .Characters.Last.Next.Font.Italic = True
    .End = .End + 2 + Len(StrFrac(1))
    .Start = .End - Len(StrFrac(1)) - 1
    .Font.Subscript = True
  End With
End With
Set RngTmp = Nothing
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-30-2011, 11:00 PM
markg2 markg2 is offline 'Little fraction' stopped? Windows 7 'Little fraction' stopped? Office 2007
Expert
'Little fraction' stopped?
 
Join Date: Nov 2009
Location: Evergreen, CO
Posts: 344
markg2 is on a distinguished road
Default

Ah, that explains the problem since the problematic fraction was an 1/8.

Thanks for your code offering. I will turn off the auto fraction feature and will attempt to figure out how to get your code to enter Word.

Mark
Reply With Quote
  #4  
Old 01-30-2011, 11:16 PM
macropod's Avatar
macropod macropod is offline 'Little fraction' stopped? Windows 7 32bit 'Little fraction' stopped? Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Mark,

With my macro, you input the fraction, select it, then run the macro. To see how to install & runn macros, go to: http://www.gmayor.com/installing_macro.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 01-31-2011, 07:11 AM
markg2 markg2 is offline 'Little fraction' stopped? Windows 7 'Little fraction' stopped? Office 2007
Expert
'Little fraction' stopped?
 
Join Date: Nov 2009
Location: Evergreen, CO
Posts: 344
markg2 is on a distinguished road
Default

Assuming I were to start off with a base of 3/4, 1/2, 1/4, 1/8 and 1/16 that I separately run the macro for all 5 fractions and then again for each additional fraction needed?

Mark
Reply With Quote
  #6  
Old 01-31-2011, 01:58 PM
macropod's Avatar
macropod macropod is offline 'Little fraction' stopped? Windows 7 32bit 'Little fraction' stopped? Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Mark,

Yes, with the macro as coded, you'd need to process each fraction separately.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2010 rule has stopped 'seeing' Contact entries LakeGator Outlook 0 11-11-2010 07:31 PM
'Little fraction' stopped? Microsoft Word has stopped working Extraordinaire Word 4 10-29-2009 11:43 AM
fraction not appearing correctly kcr Word 1 10-21-2009 03:51 PM
'Little fraction' stopped? Tab key stopped working in Word jgriffin Word 2 06-24-2009 04:05 PM
Excell stopped working TomC Excel 4 05-26-2006 11:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft