Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have tried to make an Invoice template with autonumber. The problem I can not solve is as follows: We have x different cost centers and all of these should have different number sequenses. What I thought was an easy task has proved itself not to be. The intention was that the auto_open macro should ask the user what kind of number sequense to use (or which txt file to use as autonumber file). I am not able to get this right. Is there somebody out there that have an other solution to the problem or could help me with the asking part in the auto_open macro? Thanks for you help Nicolay |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
to select a file
ChDrive "C" ChDir "C:\TemplateNumbers" fName= Application.GetOpenfileName( FileFilter:="Text Files (*.txt),*.txt") - now check if fname is a valid file (one of your invoice number files) Beyond that, you haven't given enough details -- Regards, Tom Ogilvy "Nicolay" wrote in message om... Hi I have tried to make an Invoice template with autonumber. The problem I can not solve is as follows: We have x different cost centers and all of these should have different number sequenses. What I thought was an easy task has proved itself not to be. The intention was that the auto_open macro should ask the user what kind of number sequense to use (or which txt file to use as autonumber file). I am not able to get this right. Is there somebody out there that have an other solution to the problem or could help me with the asking part in the auto_open macro? Thanks for you help Nicolay |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
there can be different ways..
have a look at www.pexcel.com and at download section see invoicing..it shows different ways to give number to invoice -----Original Message----- to select a file ChDrive "C" ChDir "C:\TemplateNumbers" fName= Application.GetOpenfileName( FileFilter:="Text Files (*.txt),*.txt") - now check if fname is a valid file (one of your invoice number files) Beyond that, you haven't given enough details -- Regards, Tom Ogilvy "Nicolay" wrote in message . com... Hi I have tried to make an Invoice template with autonumber. The problem I can not solve is as follows: We have x different cost centers and all of these should have different number sequenses. What I thought was an easy task has proved itself not to be. The intention was that the auto_open macro should ask the user what kind of number sequense to use (or which txt file to use as autonumber file). I am not able to get this right. Is there somebody out there that have an other solution to the problem or could help me with the asking part in the auto_open macro? Thanks for you help Nicolay . |
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 INSERT AN AUTONUMBER INTO AN INVOICE TEMPLATE IN EXCEL | Excel Worksheet Functions | |||
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) |