#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default LOOP query

Hi
I have an issue with regards a function which I believe may be LOOP.
I have an invoice in Excel and I would like the invoice number to increase
by 1 everytime I press a button.
How do I do this?
and then, can I also make it copy into a list details like invoice number,
who to and amount before updating the invoice number, all in one macro
perhaps???

Any help on this would be great , thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default LOOP query

See

http://www.mcgimpsey.com/excel/sequentialnums.html

In article ,
Pedro AM wrote:

Hi
I have an issue with regards a function which I believe may be LOOP.
I have an invoice in Excel and I would like the invoice number to increase
by 1 everytime I press a button.
How do I do this?
and then, can I also make it copy into a list details like invoice number,
who to and amount before updating the invoice number, all in one macro
perhaps???

Any help on this would be great , thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default LOOP query

Download and examine this file:
http://www.jlathamsite.com/uploads/BUSINESS
_INVOICE11BLANK_WithSemiAutoInvoiceNumberCreating. xls

It is a modification to a template file available from the Microsoft
Templates 'collection' - double-click on the invoice number and it will
increment by one. There is also one macro accessable from Tools | Macros |
Macro to bring up a dialog to let you set/reset your next invoice number.

That should get you started. The rest of your inquiry can probably be
handled by setting up your invoice along with a 'customer database' kind of
setup where when you enter a customer's ID, it places available information
about that customer onto the invoice via VLOOKUP() formulas.

Feel free to contact me at HelpFrom @ Jlathamsite.com (remove spaces) if you
have questions about the customizing of the linked workbook.

There is also some info on methods to do the auto-numbering from J.E.
McGimpsey's site - but I can't locate it right now although I've got some
code and files set up to deal with it in that manner also.
"Pedro AM" wrote:

Hi
I have an issue with regards a function which I believe may be LOOP.
I have an invoice in Excel and I would like the invoice number to increase
by 1 everytime I press a button.
How do I do this?
and then, can I also make it copy into a list details like invoice number,
who to and amount before updating the invoice number, all in one macro
perhaps???

Any help on this would be great , thanks.


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
Importing Data via Web Query - Can values be passed to query? [email protected] Excel Discussion (Misc queries) 5 May 9th 06 06:21 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 1 November 29th 05 01:44 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 10:02 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"