Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default How can I generate purchase order numbers?

Purchasing department has developed a purchase order form. At the top of the
form is a space for a purchase order number. They'd like this space to fill
itself in with consecutive, non-duplicating numbers each time the form is
used. Can this be done using a custom function?

Jason
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default How can I generate purchase order numbers?


J.E.'s got it all figured out for you here.

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

HTH
Regards,
Howard

"WJason" wrote in message
...
Purchasing department has developed a purchase order form. At the top of
the
form is a space for a purchase order number. They'd like this space to
fill
itself in with consecutive, non-duplicating numbers each time the form is
used. Can this be done using a custom function?

Jason



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default How can I generate purchase order numbers?

Thanks Howard :-) I'm new to macros. I figured out how to enter the
example code into VB in the worksheet. How do I call it from the cell?

"L. Howard Kittle" wrote:


J.E.'s got it all figured out for you here.

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

HTH
Regards,
Howard

"WJason" wrote in message
...
Purchasing department has developed a purchase order form. At the top of
the
form is a space for a purchase order number. They'd like this space to
fill
itself in with consecutive, non-duplicating numbers each time the form is
used. Can this be done using a custom function?

Jason




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default How can I generate purchase order numbers?

I have never used J.E.'s souliton for invoice number increment. I passed on
what I am sure is a pro's solution to all the what-if's of issuing PO #'s.

Frankly, if you need to use J.E.'s solution to overcome the risk of
duplicates or skipped numbers you should defer to your IT department, if you
have one.

A very simple remedy is to use something like this. But you should have a
"No one touches this but me!" policy. If you use the PO, then "OneMore",
if not then "OneLess".

Sub OneMore()
Range("A1").Value = Range("A1").Value + 1
End Sub
Sub OneLess()
Range("A1").Value = Range("A1").Value - 1
End Sub

There are many ways to associate the PO No.'s to Department, Product, Field
and such by using code and formulas.

HTH
Regards,
Howard




"WJason" wrote in message
...
Purchasing department has developed a purchase order form. At the top of
the
form is a space for a purchase order number. They'd like this space to
fill
itself in with consecutive, non-duplicating numbers each time the form is
used. Can this be done using a custom function?

Jason



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
Why are 1/2 my numbers imported as text and the rest as numbers? KBear Excel Discussion (Misc queries) 2 April 21st 06 01:40 PM
Purchase Order Template Numbering DABroussard Excel Discussion (Misc queries) 0 January 17th 06 03:21 AM
Purchase order dee Excel Discussion (Misc queries) 2 October 25th 05 01:39 AM
Generate random numbers between two values and with a given mean pinosan Excel Worksheet Functions 2 March 7th 05 02:04 PM
Generate consecutive numbers alexcooper2003 Excel Worksheet Functions 1 November 22nd 04 02:37 PM


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