![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Executing find operation in Word via OLE ? Topic Summary: Need Doors Dxl script to replace some text elements in a Word Document Created On: 19-Nov-2008 17:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I liked to use MS Word Search/Replace functionality in my DXL Export scripts.
In VBA the syntax is like: Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "XX_SOMETHING_XX" .Replacement.Text = "XX_REPLACEMENT_XX" .MatchCase = False End With Selection.Find.Execute Replace:=wdReplaceAll For DXL I have no idea howto implement this. I tried several times, but didn“t get the Find object. |
|
![]() |
|
![]() |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.