Need help with creating an excel macro
when you click on the new button it would look in sheet2 in column c row 2 and find the last number that was input and then add 1 and return that new number in cell D3
so in sheet2 column c row 2 would be CI300 and it would add CI301 underneath and return that number in sheet1 column d row 3
Ive been trying to find examples for the past 2 days on something similar found a few but only one was close but it had errors and was not the same
thanks
This should work …
Note I hate hard coding of cell addresses … IMHO it would be better to use range names for the start of the key column and the output cell or direct the output to
Selectionso that the button places your NextNum whereever the cursor might be.