Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default invoice number question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default invoice number question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default invoice number question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default invoice number question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default invoice number question

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default invoice number question

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
invoice toolbar for invoice calcuation and assign number KarenY Excel Discussion (Misc queries) 15 March 16th 07 12:02 PM
How do I assign an invoice number using the invoice toolbar? Sharon Excel Worksheet Functions 1 December 23rd 06 09:32 AM
how do I set up an escalating number (EG) invoice number tg Excel Discussion (Misc queries) 1 September 2nd 06 06:44 AM
How do I generate a new invoice number when creating new invoice? KiddieWonderland Excel Discussion (Misc queries) 1 March 15th 06 03:19 AM
How do I change the invoice number assigned in Invoice template... akress Excel Discussion (Misc queries) 1 February 28th 05 06:36 PM


All times are GMT +1. The time now is 01:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"