i want to change the path so it saves to the current file location.
so lets say my current file is 'Z:\cdrfiles\myfile\123'then it should save to the current file open
Dim SaveOptions As StructSaveAsOptions
Set SaveOptions = CreateStructSaveAsOptions
With SaveOptions
.EmbedVBAProject = True
.Filter = cdrCDR
.IncludeCMXData = False
.Range = cdrAllPages
.EmbedICCProfile = True
.Version = cdrVersion15
End With
ActiveDocument.SaveAs Path, SaveOptions
End Sub