- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a spreadsheet (Book1.xls) which is our master doc register.
I have another spreadsheet (Book2.xlsm) which has an external link to the part numbers and descriptions in Book1.xls so that our document list is always up to date.
I have a piece of VBA in Book2.xlsm that deletes any filters and then creates a new filter. This is automatically updated when Book2.xlsm opens, ensuring that the list of part numbers and descriptions are up to date.
My problem is, that when I have a piece of illogic to populate Book2.xlsm with data, the code throws a dialogue up that says that Book2.xlsm is already open...
The problem disappears when I remove the VBA from Book2.xlsm - Ilogic can populate the spreadsheet; no problem.
Is anyone else writing to excel spreadsheets that have either a macro or piece of VBA within them, and if so can you please let me know how to get around this issue I'm facing?
many thanks for any help with this !!
thx
Solved! Go to Solution.