Need a way to create invoice numbers automatically

Thriftlife

New Member
Joined
Jul 24, 2020
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hey needing a way for my company to use the invoice we have created and create a bunch of copies of it and give it its own unique invoice number.
The cell the invoice number will be in is I4
i would like it to save each copy as the same name as the invoice number, if thats possible. Or at least save each file without going in and manually saving each one.
We usually make 1300 or more copies of invoices that employees fill out, so trying to make it easier on us
,Thamks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You asked if possible, most any notion you can think of is possible with any programming language including VBA.
Do I understand you correctly:
You have one invoice with a number say 100, maybe in a file named 'Invoice 100'.
You want to make 1,300+ copies of 'Invoice 100' each with a different number, maybe named 'Invoice 1 Based on 100' to 'Invoice 1300 based on 100'.
Save those 1,300+ invoices in a file named 'Invoice 1 Based on 100' to 'Invoice 1300 based on 100'.
Then somehow you print and distribute these 1,300+ invoices for your employees.
The code will be simple enough, your logistics look like a challenge.
 
Upvote 0
Yea so each invoices will be named the same as their invoice number. So invoice 12345 will be called 12345.xlsm as a example
 
Upvote 0
And there will be 1,300 invoices starting with 1.xlms to 1300.xlms each the same as 1.xlms.
You are adding some piece of information you have not share to get to 12345.xlsm.
 
Upvote 0
All invoices files will be the exact same as the others just different invoice numbers in cell I4.
 
Upvote 0
Cross posted Need a macro created for my invoicess

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Yea i got it to chnage the number when i open the file, wondering how to open, close and rename the document with sequential names.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top