a macro to search for properties topic

  • 1
  • Question
  • Updated 6 months ago
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
Next 
End Sub
Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes

Posted 6 months ago

  • 1
Photo of Ary Velstra, Expert Trainer

Ary Velstra, Expert Trainer

  • 1249 Posts
  • 187 Reply Likes
I assume you have found the integrated facilty for this in MIndmanager?

It is called Index Go there either via the Task Pane on the right side or via Home=> Markers => Map Elements. Click on it and select elements.
You can see all properties, how often and where they are used in list form.

Nice feature is'nt it?
(Edited)
Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes
the macro code give me
Photo of Ary Velstra, Expert Trainer

Ary Velstra, Expert Trainer

  • 1249 Posts
  • 187 Reply Likes
I can't provide macro code to you.
Maybe the developers of MindManager may want to  sell it to you at a reasonable price?
(Edited)