If you're saying that every time you open another file - presumably with a macro which you don't show, you wish to increment the number then you need to create a Variable and use it to increment the invoice number every time you open another file. Normally I'd suggest a Public VBA Variable but since you will want to keeo incrementing the number in succeeding months then I suggest you hold then variable in a named cell called say "InvoiceNo"
Put the value 6526 in the named cell. Then in the macro that opens the file add
Then in your macro1 use
Note you don't need all the .Select stuff in your macro. Just use the same sytax for H5:H7 as the above. And rather than hard code stuff like "10/05/2016") in the macro, create a variable in the workbook somewhere and use that so that you don't need tio edit the macro every month.
Bookmarks