I'm trying to close the docsrc at the end of the code which pulls data from an external document upon clicking a button.
I've tried this which I got from another website but changed it from ActiveDocument to DocSrc.
Code:
With DocSrc.Close _
SaveChanges:=False, _
OriginalFormat:=False
End With
Any help would be greatly appreciated.