Quantcast
Channel: SCN : Popular Discussions - SAP PowerDesigner
Viewing all articles
Browse latest Browse all 1779

How to get rtf formatted text to Word by vbscript?

$
0
0

Hello,

 

I`m trying to export rtf formatted text from Descriptions and Annotations of PowerDesigner objects into MS Word document by vbscript. I cannot use Reports, that is not an option. The only way how to do this I`ve discovered so far, is to get the the plain text of the Description together with RTF tags (but not interpreted), write it to a new file and save it with the rtf extension. Then open this rtf file with MS Word (that will interpret rtf tags) and copy&paste this text alredy formatted text to the final MS Word document.

 

And I have to repeat this for each Description and Annotation that needs to be exported. This solution is definitely not nice, but the only one I`ve discovered so far. Any other advice how to do this more efficiently will be appreciated.

 

 

Thank you,

Ondrej Divis


Viewing all articles
Browse latest Browse all 1779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>