Hi, Sam Kuiper,
instead of typing each and every customer and address each and every time I would think about using a database for that and giving each customer/delivery address a unique number on the left side of the data block to be used with VLookup for the ease of maintenance.
The macro could look like this:
The new number is essentially the Max of numbers in Column A on Sheet2 plus ,0001 - it may be altered but will reflect on the next save.
Also it would be nice if the button would bring up an confirmation popup so that creating a new number is not done accidently, or even a password would do the trick i guess.
The new number isnīt entered into the list until the button is pressed - if somebody alters the list in the meantime the value in Range("A1") could be checked via the Max function prior to writing.
Ciao,
Holger
Bookmarks