web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Sequential Numbering on Invoices generated from Word Templates

(0) ShareShare
ReportReport
Posted on by 240

Hello, 

I want to generate invoice from the information on that particular form. I used the word template to create the invoice. I am looking to populate the invoice number field. I want those to be in order and the number should increase based on the number of times the invoice was downloaded. 

How do I achieve a counter on the word template?

Thanks. 

I have the same question (0)
  • Aneeqa Pervaiz Profile Picture
    240 on at

    I created a macro to do the task - that works flawlessly. Below is the snippet.

    pastedimage1597967881649v1.png

    Now, when I save it and re-open it, it runs like it should. However, when I save it as a macro-enabled document, I cannot upload it in CRM. How should I go about it?

  • Thijs van der Klei Profile Picture
    780 on at

    Hi Aneeqa,

    I wonder what is the user story your solution is based on. Obviously an invoice has an automatically generated invoice number. So far everything available OotB. So you publish the invoice somewhere online and the customer can download the invoice, right? Why is the number of downloads relevant?

    Kind regards,

    Thijs van der Klei

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 128 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 95

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans