VBA Word Macro Source code

Where do I find the VBA MS Word Macro source code for the export from Word to DOORS Formal Module objects? 


Bill_WAM - Mon Jun 03 13:53:46 EDT 2013

Re: VBA Word Macro Source code
Tony_Goodman - Tue Jun 04 05:05:34 EDT 2013

If I recall correctly, the macro is password protected so you cannot see the source code.

I would recommend that you use the RTF import function. I always find that the results are better.

Re: VBA Word Macro Source code
Bill_WAM - Tue Jun 04 10:09:23 EDT 2013

Tony_Goodman - Tue Jun 04 05:05:34 EDT 2013

If I recall correctly, the macro is password protected so you cannot see the source code.

I would recommend that you use the RTF import function. I always find that the results are better.

Tony

Yes the VBA Macros are password protected.  Then I will need to write my own interface.  I do not have much experience with RTF.  Can you point me to where I can find documentation on the syntax for opening a DOORS DB from a VBA application to push data into DOORS creating projects, Formal Modual, object in Formal Moduals, and linking these new objects to existing objects?

Thanks,

Bill

Re: VBA Word Macro Source code
llandale - Tue Jun 04 12:38:47 EDT 2013

Tony_Goodman - Tue Jun 04 05:05:34 EDT 2013

If I recall correctly, the macro is password protected so you cannot see the source code.

I would recommend that you use the RTF import function. I always find that the results are better.

I agree; pulling in the "rtf" from DOORS works better than pushing in the "docx" from word into DOORS.  Save-as the Word file as type "rtf".  A big reason for this is save-as-RTF automatically strips out a lot of doc stuff that DOORS cannot understand anyway.

RTF import is a one module at a time thing.  I would make the [1] creation of the Project, folders, and linkmodules and [2] the linking as separate scripts.

-Louie

Re: VBA Word Macro Source code
beauman_vienna - Sat Aug 31 10:52:20 EDT 2013

I like to ask a basic question. It's similar to the request from Bill.

If I like to keep all my word contents like vector grafics, enumerations, nested tabels, -- short all the word content DOORS does not understand -- in my word file, but I only like to synchronize this word file for plain requirement management, can I use word macros for that?

I imagine that requirements are marked with a tag inside the word file. If the macro is executed, it would connect to DOORS, insert into a db and replace the tag with the requirements ID and an other tag.

If a requirement that is already equipped with a DOORS ID is changed an other macro would synchonize DOORS with the word file.

If somebody can remotely imagine something like this, can you point me to relevant documentation, links, discussion threads, etc.? 

Thanks in advance!

beauman