Hello there,
Try the following,
To use the code in your workbook:
1. Press Alt+F8
2. Clear the macro name field and replace it with OpenDebtorsWB
3. Select the Create option
4. Between the Sub OpenDebtorsWB and End Sub, copy and paste the above code
5. Please take a minute to review the code
Anything that appears in green is a comment, you will need to change parts of the code to fit your data. The comments will tell you when and how to do this.
6. Exit out of Visual Basic
7. Press Alt+F8, this time select he OpenDebtorsWB and select the Run option
If you encounter and error on this line
Open a workbook in the Debtors folder and in an empty cell type =CELL("filename")
this will reveal the path for you workbook's in this folder, replace the portion of the code highlighted in red with you workbook path less the filename
It should end up looking something like the following
Let me know if this works for you!
Thanks!
Bookmarks