Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJ AJ is offline
external usenet poster
 
Posts: 99
Default Incrementing numbers problem

I have a workbook that has a sheet1 with product information, something like
this
Prod Length width Code
A 10 20 001
B 5 3 001

On another sheet I have a control that lets you select the Product and using
lookup functions I populate that sheet2 specific to the product chosen.

Each time sheet 2 is printed I need to issue a unique lot number for that
product. Our lot code system is 900x for 9 being 2009 and 00x being the
number of lots of that specific product we have produced in the year.

Is it possible to have the code increment by 1 each time that product is
printed? Then reset back to 001 at the beginning of the year?

Thanks in advance to anyone for help.
--
AJ
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Incrementing numbers problem

Can be done with relatively simple macro code. Do you want it done this way?
If so, you should realize that the number will increment every time you
print. However, will only increment once if you print and select number of
copies to greater than one.

Also, do you need instructions for copying the code into your workbook?

--
Regards,

OssieMac


"AJ" wrote:

I have a workbook that has a sheet1 with product information, something like
this
Prod Length width Code
A 10 20 001
B 5 3 001

On another sheet I have a control that lets you select the Product and using
lookup functions I populate that sheet2 specific to the product chosen.

Each time sheet 2 is printed I need to issue a unique lot number for that
product. Our lot code system is 900x for 9 being 2009 and 00x being the
number of lots of that specific product we have produced in the year.

Is it possible to have the code increment by 1 each time that product is
printed? Then reset back to 001 at the beginning of the year?

Thanks in advance to anyone for help.
--
AJ

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
Incrementing numbers in cells Andrew Morine Excel Worksheet Functions 1 August 26th 08 02:11 AM
incrementing account numbers John Excel Discussion (Misc queries) 5 March 10th 06 02:44 PM
Incrementing numbers Floyd107 Excel Worksheet Functions 2 February 28th 06 10:04 AM
Table of incrementing by one numbers brbarto New Users to Excel 2 December 20th 05 03:16 AM
Incrementing Cell Numbers Lance W. Grimes Excel Discussion (Misc queries) 1 March 8th 05 07:51 PM


All times are GMT +1. The time now is 06:56 PM.

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

About Us

"It's about Microsoft Excel"