I am very new to all of this and I am having trouble with something that sounds so simple but I can't work it out.
I have 2 worksheets, 1 shows a simple Customer Order/Invoice Form. The other records that data (Invdata). I have a button on the form worksheet, that when clicked I want it to go to the Invdata worksheet, find the last Invoice number used in column A, add 1 to it and bring that back to Cell F9 on my form worksheet. Eg if the last Invoice number used was 1234, I want it to return 1235.
It took a while but I did work out how to do this with condional formatting and a formula like this
=IF(E33="Enter New Order",'D:\[Trials.xlsx]Sheet3'!A2+1,"")
on a practice workbook that I have, but I can't figure out how to convert that to a vba button click event.
I would really appreciate any help offered with this
Dott