I am currently building an invoice in excel and am trying to create an invoice sheet that uses a macro to copy over the information onto a separate sheet with all of their personal details. I need to make a macro that copies over the details and increases an invoice number by +1 each time with a new row being inserted as well. I have tried to make formulas to complete this but to no avail, I cannot figure out how to do this.
Any sort of help or information would be greatly appreciated,
Thanks.
Hi Taylor,
If the invoice number is in A1 try this
ActiveSheet.Copy After:=Sheets(Sheets.Count)
Range("A1").Value = Range("A1").Value + 1
Regards
Phil
Hi it is in A2, so would the process be the same?
thanks
Yes, just change Range("A1") to Range("A2")