Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default PO with sequential numbering with start / end numbering

Hi

Now, please treat me like I dont know anything about VB. and you wont
be far wrong!

I have a PO spreadsheet with the PO number to be placed in cell E15.

I can place a button on the worksheet to activate a macro,

I want to be able to enter a start number in a spare cell and a stop
number in another spare cell ie the range.
eg put 4510 into "start cell" and 4559 into "stop cell".
Then I want to able to click the button (i know how to get the button
to run a macro) which then
prints off the PO's with each PO individually numbered according to
the range entered.

It would be even better to just be able to press the button and a
dialogue box(es) asks me to enter the start number and the stop number
and then prints off the POs.

Any help much appreciated.

Steve

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default PO with sequential numbering with start / end numbering

This should help get you started.

Sub InvoicePrints()

startNum = InputBox("Enter the Invoice Start Number", "Invoice Start
Number")
stopNum = InputBox("Enter the Invoice Stop Number", "Invoice Stop Number")

For i = startNum To stopNum

Range("E15").Value = i

ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Next i

End Sub


HTH,
Paul
wrote in message
oups.com...
Hi

Now, please treat me like I dont know anything about VB. and you wont
be far wrong!

I have a PO spreadsheet with the PO number to be placed in cell E15.

I can place a button on the worksheet to activate a macro,

I want to be able to enter a start number in a spare cell and a stop
number in another spare cell ie the range.
eg put 4510 into "start cell" and 4559 into "stop cell".
Then I want to able to click the button (i know how to get the button
to run a macro) which then
prints off the PO's with each PO individually numbered according to
the range entered.

It would be even better to just be able to press the button and a
dialogue box(es) asks me to enter the start number and the stop number
and then prints off the POs.

Any help much appreciated.

Steve



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
Non-Sequential Page numbering HDR Excel Discussion (Misc queries) 0 November 15th 06 09:03 PM
Sequential Numbering Mel Excel Discussion (Misc queries) 10 May 9th 06 03:12 PM
Sequential numbering REELAXER Excel Worksheet Functions 1 June 30th 05 12:25 AM
Sequential Numbering. Rodney New Users to Excel 3 May 2nd 05 09:34 PM
Sequential numbering Monique Excel Discussion (Misc queries) 0 March 4th 05 01:01 AM


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