Invoice numbering

mikie1881

New Member
Joined
Jul 27, 2020
Messages
20
Office Version
  1. 2013
Platform
  1. Windows
Hi. I use to provide electronic invoice for my services, but every time i forgot the last invoice number. is it possible to get some help ? I thing will be perfect if after doing and save an new invoice to be archived with a invoice name ? and invoice template to remain blanc ?the invoice number have to be on L3 cell of my invoice. Thank you in advance
 
Hi, thank you for your reply and for the correction of the code , its perfect but one thing that maybe I didn’t explain to you well.

I have one invoice template and I use it to issue any new invoices, what I am try to do is after complete with client details on template invoice on cells A13:K18 and push the macro button the invoice to be saved on c\aa (as it is saved already) with the data on A13:K18 and the invoice template to be cleared (A13:k18)

Unfortunately now when I click the macro button the template invoice cleared on A13:K18 But the copy saved on c\aa\inv empty without any data on A13:K18

Once again thank you very much

Mikie
thank you for your hekp
Regards
Mikie
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Nothing has changed from the previous (your Post #6) concerning the code logic. Instead of performing the same functions in two separate macros, the code now
performs the same functions by combining the two macros into one macro.

I don't understand how the code is doing something different ...
 
Upvote 0
I canot say why because i dont have the skills but , on previus code the second fuction was not worked , now works perfect , and thanks again for that.
By the way can i change the name of the saved file from inv(l3) to inv ( L3 + A6) ?? this will save the copy with the client name and the invoice number ??
Best Regards
Mikie
 
Upvote 0
Certainly.
Edit : NewFN = "c:\aaa\Inv" & Range("l3").Value & ".xlsx"

To: NewFN = "c:\aaa\Inv" & Range("L3").Value & Range("A6").Value & ".xlsx"
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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