Sub Example_Export()
Dim SSet As AcadSelectionSet
For Each SSet In ThisDrawing.SelectionSets
If SSet.Name = "SS1" Then
ThisDrawing.SelectionSets.Item("SS1").Delete
Exit For
End If
Next
Set SSet = ThisDrawing.SelectionSets.Add("SS1")
SSet.SelectOnScreen
Dim objEnt As AcadEntity
For Each objEnt In SSet
exportFile = "C:\AutoCAD\DXFExprt"
ThisDrawing.Export exportFile, "wmf", SSet