Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-01-2011, 07:33 AM
Jamal NUMAN Jamal NUMAN is offline Is there a way to have the thousand separator  in the tables of Words as we do in Exc Windows XP Is there a way to have the thousand separator  in the tables of Words as we do in Exc Office 2007
Expert
Is there a way to have the thousand separator  in the tables of Words as we do in Exc
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Question Is there a way to have the thousand separator in the tables of Words as we do in Exc


Is there a way to have the thousand separator in the tables of Words as we do in Excel??

please, see the attached file that shows my question.

i need to have comma thousand separator in the table of word, but i couldn't know how to do it..!

regards

Jamal
Attached Images
File Type: jpg Clip_163.jpg (101.3 KB, 13 views)
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #2  
Old 05-01-2011, 02:35 PM
macropod's Avatar
macropod macropod is offline Is there a way to have the thousand separator  in the tables of Words as we do in Exc Windows 7 32bit Is there a way to have the thousand separator  in the tables of Words as we do in Exc 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 Jamal,

If you want that facility, you can embed and Excel worksheet into the document. Alternatively, you can input the values into the table, then run a macro like:
Code:
Sub DecimalFormatter()
Dim Rslt, RsDz, oCel As Cell, Rng As Range
If Selection.Information(wdWithInTable) = False Then
  MsgBox "Cannot run outside a table", vbExclamation, "Decimal Formatter"
  Exit Sub
End If
Rslt = MsgBox("Format the whole table?", vbYesNoCancel, "Decimal Formatter")
If Rslt = vbCancel Then Exit Sub
RsDz = MsgBox("Apply currency formatting?", vbYesNo, "Decimal Formatter")
If RsDz = vbNo Then RsDz = ""
If RsDz = vbYes Then RsDz = "$"
If Rslt = vbNo Then
  For Each oCel In Selection.Cells
    Set Rng = oCel.Range
    With Rng
    .End = .End - 1
      If IsNumeric(.Text) Then .Text = Format(.Text, RsDz & "#,##0.00")
    End With
  Next
End If
If Rslt = vbYes Then
  For Each oCel In Selection.Tables(1).Range.Cells
    Set Rng = oCel.Range
    With Rng
    .End = .End - 1
      If IsNumeric(.Text) Then .Text = Format(.Text, RsDz & "#,##0.00")
    End With
  Next
End If
End Sub
For PC macro installation & usage instructions, see: Installing Macros
For Mac macro installation & usage instructions, see: Word:mac - Install a Macro
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-01-2011, 03:36 PM
Jamal NUMAN Jamal NUMAN is offline Is there a way to have the thousand separator  in the tables of Words as we do in Exc Windows XP Is there a way to have the thousand separator  in the tables of Words as we do in Exc Office 2007
Expert
Is there a way to have the thousand separator  in the tables of Words as we do in Exc
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Thumbs up

Thank you Paul. that's great

Regards

Jamal
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Decimal tabs with space as thousands separator harry Word 1 12-22-2023 02:59 PM
Why Words doesn’t show the style of the selected words automatically???? Jamal NUMAN Word 0 04-14-2011 03:20 PM
How to 'forbid' bad words? andre20 Word 5 06-14-2010 08:35 PM
Is there a way to have the thousand separator  in the tables of Words as we do in Exc thousands comma separator taylormayd Excel 3 02-20-2009 03:46 AM
Is there a way to have the thousand separator  in the tables of Words as we do in Exc Spaced out words? microsoftmonkey Outlook 1 11-24-2008 09:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:33 PM.


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