alliswell
Board Regular
- Joined
- Mar 16, 2020
- Messages
- 190
- Office Version
- 2007
- Platform
- Windows
- Mobile
Hi everyone !
I created macro to create invoice and get it saved with the name as invoice no in C\Invoices. For ex. C\Invoices\0001.xlsm.
Invoice template is in sheet1 with SAVE command button. After filling invoice when i hit save button invoice get saved in C:\invoice and in sheet2 database of each invoice gets saved with hyperlinked EDIT in column E of each database.
For example in sheet2
A B C D E
1 INVOICE NAME QTY. TOTAL
2 0001 SAM 4 600 EDIT
3 0002 JAN 7 790 EDIT
NOW when i click on hyperlinked edit in E2 0001 invoice gets opened and i make some changes in it and saves it and closes it. I changed QTY from 4 to 5 and Total becomes 750 but it didnt get updated in sheet2 database. Please can you help linking database to invoices to get updated if needed to. Thanks.
Here is my macro.
I created macro to create invoice and get it saved with the name as invoice no in C\Invoices. For ex. C\Invoices\0001.xlsm.
Invoice template is in sheet1 with SAVE command button. After filling invoice when i hit save button invoice get saved in C:\invoice and in sheet2 database of each invoice gets saved with hyperlinked EDIT in column E of each database.
For example in sheet2
A B C D E
1 INVOICE NAME QTY. TOTAL
2 0001 SAM 4 600 EDIT
3 0002 JAN 7 790 EDIT
NOW when i click on hyperlinked edit in E2 0001 invoice gets opened and i make some changes in it and saves it and closes it. I changed QTY from 4 to 5 and Total becomes 750 but it didnt get updated in sheet2 database. Please can you help linking database to invoices to get updated if needed to. Thanks.
Here is my macro.