Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Macro
I need some help writing a macro in visual basic. I'm tring to give an
invoice number to each new invoice. I don't want it to do it every time I open the program though, I would like it to be done when I enter the customer number into the field. I'm not quite sure how to do this. Please Help!! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Macro
You may want to review JE McGimpsey's notes:
http://mcgimpsey.com/excel/udfs/sequentialnums.html Personally, I wouldn't use the changing of a cell to grab a new number. I'd put a button from the forms toolbar on the worksheet and force the user to click the button when they wanted it. Anything else would seem too much like magic <vbg. Heather C wrote: I need some help writing a macro in visual basic. I'm tring to give an invoice number to each new invoice. I don't want it to do it every time I open the program though, I would like it to be done when I enter the customer number into the field. I'm not quite sure how to do this. Please Help!! -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
need help to update macro to office 2007 macro enabled workbook | Excel Discussion (Misc queries) | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
using a cell value to control a counter inside a macro and displaying macro value | Excel Worksheet Functions | |||
Macro needed to Paste Values and prevent Macro operation | Excel Discussion (Misc queries) |