Formatting a textbox for percentages

P

Paula

I have a textbox that contains a number created by dividing one total by
another. I need to format that result as a percentage. Is there a way to do
that?
 
C

Chuck Henrich

Use the Percent named numeric format eg:

ActiveDocument.Shapes(1).TextFrame.TextRange.Text = _
Format(x / y, "Percent")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top