A problem that can implement dynamic function calls in word through the field code = (Formula) field

li yujun 0 Reputation points
2025-02-10T02:59:46.7333333+00:00

In my daily work, it is common to create bookmarks in word that are easy to quickly reference throughout the document. However, I have different uses for the text of these bookmarks. For example, I have created an amount bookmark in the document and its text content is 1234567.89 This bookmark amount is the summary result of the sum function calculated by the field in the table of the document, when I convert this amount into an uppercase amount at a certain point, the field can not be completely automatically converted, because in word, the number is converted into uppercase according to the number, but the maximum number in word can only be 6 digits of 999999, more than later Therefore, I was wondering whether I could achieve all this through the custom function function, the amount of capital conversion in the function, in the document domain by calling the function, passing the bookmark, to achieve the final effect, but I tested the result is not satisfactory, it prompts syntax errors I looked for the whole network data did not see that the word domain is to support the call of custom functions Posting for help, to see if you can help me achieve the function through the vast number of users of the magic。

my office is a professional enhanced version 2024

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
960 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,274 questions
0 comments No comments
{count} votes

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.