PC Review


Reply
Thread Tools Rate Thread

custom one digit in a number

 
 
=?Utf-8?B?RG91Zw==?=
Guest
Posts: n/a
 
      16th Jun 2006
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?
 
Reply With Quote
 
 
 
 
Luc
Guest
Posts: n/a
 
      16th Jun 2006
Doug,
Not in PPT as far as I know. You could use an Excel cell and paste that into
PPT.

--
Luc Sanders
(MVP - PowerPoint)


"Doug" <(E-Mail Removed)> schreef in bericht
news:E892F943-B2C3-4216-90CA-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
eldon.l.lehman@westernheights.k12.ok.us
Guest
Posts: n/a
 
      17th Jun 2006
Doug wrote:
> 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

 
Reply With Quote
 
Austin Myers
Guest
Posts: n/a
 
      17th Jun 2006
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




"Doug" <(E-Mail Removed)> wrote in message
news:E892F943-B2C3-4216-90CA-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
=?Utf-8?B?Sm9obiBXaWxzb24=?=
Guest
Posts: n/a
 
      17th Jun 2006
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
--
-----------------------------------------
Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist



"(E-Mail Removed)" wrote:

> Doug wrote:
> > 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
>
>

 
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
Custom Format on 16 Digit Number Neil Microsoft Excel Misc 5 22nd Feb 2010 11:49 PM
How to validate a cell to insert from 9 digit number to 13 digit number. ramulu via OfficeKB.com Microsoft Excel Worksheet Functions 1 21st Feb 2007 02:32 PM
How to validate a cell to insert from 9 digit number to 13 digit number. ramulu Microsoft Excel Worksheet Functions 1 21st Feb 2007 10:00 AM
Color a single digit in a mult-digit number cell =?Utf-8?B?UGh5bGxpcw==?= Microsoft Excel Misc 6 17th Nov 2005 12:46 AM
Change 2 digit suffix in 14 digit number in a column of numbers. Brad H. Microsoft Excel Worksheet Functions 1 4th Sep 2003 04:35 PM


Features
 

Advertising
 

Newsgroups
 


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