EBDN - Community - Question & Answers

  Tuesday, 24 March 2020
  1 Replies
  855 Visits
0
Votes
Undo
I am testing the EB 2020 version and have some issues with macros that are running without those issues in EB 2019.
It seems that after running ReplaceBy() Function on the ObjectItem, if the Replace Fails (Replace Material throws "error replacing object!";), its not possible to continue running the Macro. Most of the Functions fail and the Log is filled with Messages:

>> 03/24/20 09:44:31 Application-Error (Cat 3) - ON_ERROR_VBA_RAISE: , CAucVbaObject::get_TargetAssociations Scope 65, Hr 80046A63, File r:\6.9.0\145\core\client\easylectric\aucvbaobject.cpp, Function <>, Row 4656
>> 03/24/20 09:44:31 Application-Error (Cat 3) - ON_ERROR_VBA_RAISE: , CAucVbaObject::get_Timestamp Scope 65, Hr 80046A63, File r:\6.9.0\145\core\client\easylectric\aucvbaobject.cpp, Function <>, Row 6216
>> 03/24/20 09:44:32 Application-Error (Cat 3) - ON_ERROR_VBA_RAISE: , CAucVbaObject::get_Attributes Scope 65, Hr 80046A63, File r:\6.9.0\145\core\client\easylectric\aucvbaobject.cpp, Function <>, Row 3437

Is there some way to come out of this situation without closing and re-starting the Macro?