Format Word QuickPart as currency

christophermorris 30 Reputation points
2024-02-22T18:00:31.1733333+00:00

I inserted quickparts into my word template document, they display as numbers but I would like them to show in the $#,###.00 format instead. My org used 0365 with Sharepoint Online and MS Teams. I've seen many posts on this topic with answers but I haven't been able to get any of the solutions (an OnExit macro, wrapping the content control within a function). Many of the answers seem old and the most recent one I found on here wasn't solved.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Accepted answer
  1. Jiajing Hua 18,060 Reputation points Moderator
    2024-02-29T08:32:32.1966667+00:00

    Hi @christophermorris

    Based on my tests, a column formatted as currency only comes through as a number in Word, because Word content controls only display what they point to, such as the plain numeric value, and no option to specify the display format of the currency.

    The workaround is using Word field: MERGEFIELD.

    The column "Test 111" I created in SharePoint. User's image

    The { MERGEFIELD <Document Property> \ # $#,###.00} I entered in Word document.

    (Please note, you need to press Ctrl+F9 to insert code brackets, not the brackets typed from the keyboard. Plus, <Document Property> is inserted from the Quick Parts as you know.)

    User's image

    After clicking Toggle Filed Codes or pressing Alt + F9, the field code will show the result.

    enter image description here******************************************** If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.