Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Invoice autonumber with mulitple number sequense

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Invoice autonumber with mulitple number sequense

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Invoice autonumber with mulitple number sequense

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
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 INSERT AN AUTONUMBER INTO AN INVOICE TEMPLATE IN EXCEL JW69 Excel Worksheet Functions 8 August 10th 06 04:01 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 11:51 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"