Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am working on an intercompany supplies transfer form and all I need to
complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Check this out...
http://www.mcgimpsey.com/excel/udfs/sequentialnums.html HTH Regards, Howard "ccmintern" wrote in message ... I am working on an intercompany supplies transfer form and all I need to complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Howard,
Thanks for your response, however I have already tried that, and I think it was just user error, but I can't figure out how to get it to work. I can create a macro, I just don't know how to activate it, if that makes sense. It seems as if I did nothing. Perhaps that just means I am doing something wrong. Whatever the case, it doesn't work for me. "L. Howard Kittle" wrote: Check this out... http://www.mcgimpsey.com/excel/udfs/sequentialnums.html HTH Regards, Howard "ccmintern" wrote in message ... I am working on an intercompany supplies transfer form and all I need to complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Which method did you try to use from McGimpsey's site?
The Private Sub Workbook_Open routine or the Public Function NextSeqNumber code? Also, what version of Excel are you using? Others have had trouble implementing the code there, others haven't. The code is solid, but it does seem that novices can have trouble getting it to work initially. But it probably provides the two best ways to to deal with it. Since you say you're developing something that sounds like could be used by several different people in various locations. I'd recommend using the Function NextSeqNumber procedure because of that. "ccmintern" wrote: Howard, Thanks for your response, however I have already tried that, and I think it was just user error, but I can't figure out how to get it to work. I can create a macro, I just don't know how to activate it, if that makes sense. It seems as if I did nothing. Perhaps that just means I am doing something wrong. Whatever the case, it doesn't work for me. "L. Howard Kittle" wrote: Check this out... http://www.mcgimpsey.com/excel/udfs/sequentialnums.html HTH Regards, Howard "ccmintern" wrote in message ... I am working on an intercompany supplies transfer form and all I need to complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I was "semi" successful in using Private Sub Workbook_Open routine...
Open a new workbook and name a sheet "Invoice" Right click on that tab and click View Code. Double click on ThisWorkbook in the VB Project tree and paste the code in the large white space. Now Save As and when the Save As prompt window comes up, click the down arrow on the "Save as type:" and save as a Template... use a name of your choice. Now open that newly saved template and you should get the date in B1 and an invoice number in B2. Save this "new invoice" to a name of your choice and close it. Open the Template again and you should get a new workbook with the date in B1 and the next invoice from the last in B2. Repeat for the next... etc. I do not know how to reset the invoice number if necessary and it started with 0004 for some reason. HTH Regards, Howard "ccmintern" wrote in message ... I am working on an intercompany supplies transfer form and all I need to complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You might try opening the workbook, and manually typing in zero ( 0 ) as the
invoice number, then save the workbook. Next time you open it, it should then assign invoice number 1. This is also one reason I like the text file a little better: easier to manage the invoice numbers should they get screwed up, along with allowing multiple users to create invoices. "L. Howard Kittle" wrote: I was "semi" successful in using Private Sub Workbook_Open routine... Open a new workbook and name a sheet "Invoice" Right click on that tab and click View Code. Double click on ThisWorkbook in the VB Project tree and paste the code in the large white space. Now Save As and when the Save As prompt window comes up, click the down arrow on the "Save as type:" and save as a Template... use a name of your choice. Now open that newly saved template and you should get the date in B1 and an invoice number in B2. Save this "new invoice" to a name of your choice and close it. Open the Template again and you should get a new workbook with the date in B1 and the next invoice from the last in B2. Repeat for the next... etc. I do not know how to reset the invoice number if necessary and it started with 0004 for some reason. HTH Regards, Howard "ccmintern" wrote in message ... I am working on an intercompany supplies transfer form and all I need to complete it is a sequential (invoice) number. I am not familiar with macro, but have tried to teach myself by reading the other posts, but it's just not working. Figured I would just ask for help. Thank you in advance! I really appreciate it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
invoice toolbar for invoice calcuation and assign number | Excel Discussion (Misc queries) | |||
How do I assign an invoice number using the invoice toolbar? | Excel Worksheet Functions | |||
how do I set up an escalating number (EG) invoice number | Excel Discussion (Misc queries) | |||
How do I generate a new invoice number when creating new invoice? | Excel Discussion (Misc queries) | |||
How do I change the invoice number assigned in Invoice template... | Excel Discussion (Misc queries) |