Originally Posted by
Richard Buttrey
Hi,
Yes this is a fairly common and simple task with VBA.
If you upload your workbook containing your invoice template and sales record data sheet I'll happily add the functionality for you.
The general approach I use is to keep a working row of cells above the database of sales records and link each of those cells back to the invoice template. Then when you click the button to update the Sales database the macro simply copies the working row and pastes it back as values to the next available row on the data sheet.
Editing an existing record just requires another macro to extract the current data from the Sales data back to the invoice template, or pehaps a mirror of it which can then be edited and then updated back to the Sales data.
Bookmarks