Help!!

JHARO-77

New Member
Joined
Jan 27, 2012
Messages
3
I need help with a vba code or formula that will help me do the following (I know that I should at least show some code of what I have so far but I am new to excel and have no idea where to even begin):

I have two (2) workbooks, wb1 and wb2.
wb1 has two sheets, sheet1 and sheet2. Sheet1 holds invoice numbers. Sheet2 is the invoice. I need to populate the next invoice number from Sheet1 onto Sheet2 without duplicating any invoice numbers, for example, the last invoice number is 19567 so the next populated number should be 19568 and so on. Then, after the invoice is filled out I need it to be copied over to wb2 and saved under that invoice number. I hope this makes sense. Any help would really be appreciated. Thanks in advance.
 
Thanks guerillaunit for your quick response. The thing is that I am trying to do this in two new workbooks as to not post my actual customer invoices, so there is no sample to post. Hope you can understand. Thank you.
 
Upvote 0

Forum statistics

Threads
1,226,795
Messages
6,193,046
Members
453,772
Latest member
aastupin

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