a macro to search for properties topic . how to write code ? here is my code. he finds only the name of the topic. I need a property search.
Option Explicit Dim FD As String Dim RD As String Dim m_Doc As Document Dim m_Topic As Topic Sub Main FD = InputBox("search")
For Each m_Topic In ActiveDocument.Range(mmRangeAllTopics, True) If m_Topic.Find(FD) Then RD = InputBox("replace") m_Topic.Text=RD MsgBox("ok") End If NextEnd Sub
