Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / June 2006

Tip: Looking for answers? Try searching our database.

custom one digit in a number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Doug - 16 Jun 2006 01:16 GMT
Is there any way to customize only one digit is a number?
For example: take the number 4.2831
I want the 831 to dissapear and the 2 to change to a three.

Any help?
Luc - 16 Jun 2006 07:33 GMT
Doug,
Not in PPT as far as I know. You could use an Excel cell and paste that into
PPT.

Signature

Luc Sanders
(MVP - PowerPoint)

> Is there any way to customize only one digit is a number?
> For example: take the number 4.2831
> I want the 831 to dissapear and the 2 to change to a three.
>
> Any help?
eldon.l.lehman@westernheights.k12.ok.us - 17 Jun 2006 02:32 GMT
> Is there any way to customize only one digit is a number?
> For example: take the number 4.2831
> I want the 831 to dissapear and the 2 to change to a three.
>
> Any help?

Hello Doug,
One approach could be to format it with VBA.

-----start code----
Public Sub RoundDigit()
With ActivePresentation.Slides(1).Shapes(2).TextFrame
   .TextRange = "4.2831"
   .TextRange = Format(.TextRange, "##.#")
End With
End Sub
-----end code----
This addresses the specific example, but modifications could be made to
take care of the rounding for other place values.
Any help?
Very helpful - round to the ten thousandths place
Somewhat helpful - round to the thousandths place
Not real helpful - round to the hundredths place
Really awful - round to the tenths place
4   .   2   8   3   1

Eldon
John Wilson - 17 Jun 2006 12:20 GMT
Further to the above vba here are two more macros that may help

The first works in edit view and resets all text boxes to format required
The second works in slide show view (call from button / action setting) and
sets the current slide to the one decimal place format
Signature

-----------------------------------------
Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist

> > Is there any way to customize only one digit is a number?
> > For example: take the number 4.2831
[quoted text clipped - 23 lines]
>  
> Eldon
Austin Myers - 17 Jun 2006 03:23 GMT
Well, you can fake it.  Create a text box with 3 in it, create another text
box with 4.2831 in it and set it to disappear (Exit animation) when clicked.
Now drag the text box with 4.2831 and place it "on top" of the other text
box.  Yer good to go.

Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia      http://www.pfcmedia.com

> Is there any way to customize only one digit is a number?
> For example: take the number 4.2831
> I want the 831 to dissapear and the 2 to change to a three.
>
> Any help?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.