Hi everybody,
is it programmaticly possible to select a previously saved search folder?
I programmaticly perform a search based on a code in the Subject and save the map for future references.
But when i try to save the same map again, it errors ... wich is normal because it allready exists.
At this point i do not want to save it anymore but simply select the previosuly saved map.
This is a part of the code that i use now
Set olkSearch = Application.AdvancedSearch
(strFolder
, strCondition, True) 'True includes subfolders
Set olkSearchFolder = olkSearch.Save(MyProspCode
)
Set Application.ActiveExplorer
.CurrentFo
lder = olkSearchFolder
'this last line selects the map, but this is only possible when it's a new save.
Best regards,
24Carat
Start Free Trial