Ao fix relative outlook links.mmbas

From ActivityOwnerWiki
Jump to: navigation, search
'MindManager 8.2 currently sees Outlook hyperlinks as relative file links
'if the hyperlink type is set to relative. In order to address this, run
'this macro on a map and it will convert the link type to absolute type.
Sub Main
	For Each t In ActiveDocument.Range(mmRangeAllTopics)
		If t.HasHyperlink Then
			If InStr(t.Hyperlink.Address,"Outlook")=1 Then t.Hyperlink.Absolute=True
		End If
End Sub