I'm trying to use a VBA macro to set a reference between two files and it works, but once the reference is created the macro fails when I try to check the referencing file back in. This method worked in my test macro but fails when I include it in to a working spreadsheet file. Here's the pertinent code. The vaultMain object is already instantiated and logged in and the string variables have legitimate path/filename values.
I'm not sure if there's a conflict because of having both an iEdmFile8 reference and an iEdmEnumeratorCustomReference5 reference based on the same file... the former is needed to checkout/checkin the file and the latter is needed to add the reference.
CORRECTION NOTE: The first annotation in the code image should read "FILE CHECKS OUT SUCCESSFULLY"
Message was edited by: Brian Dalton