[quote user="Matt Ashby"]
Hi Barry,
I performed a little test, and although it is not "apples to apples", the ODFFP method does work with modifying text within cells for multiple models within a single DGN file. In my case I launch my MVBA from a current session of MS as opposed to solely from an Excel file, which in theory shouldn't make a difference, but who knows. Also, in the case of modifying text within a cell, I do not use the "mdl.activate" line of code.[/quote]
The last 3 lines in the post were only added as a test to see if you could activate the sheet model when using ODFFP but it appears not to work. Those lines are not actually needed when using ODF.
[quote user="Matt Ashby"]
Lastly, and this is a totally wild, left-field guess and hack, which probably won't work, but what the heck...what happens if you add the following line of code within the same subroutine of where your code trips up (i.e., where you get your VBA error)?
On Error Resume Next
[/quote]
It loops for quite some time and because I have these lines:
If oTag.Value = vbNullString Then ShtDrawings.Cells(lCurRow, i + 2).Value = "Empty!"
all my cells which have a visible tag that is a member of 1 of 5 potential tagsets, all those cells return Empty!.
The Locals window shows that data that can be retrieved using ODF has an Automation Error when using ODFFP.
I've created a separate thread here to answer the latter question.