Thread: [Solved] docsrc.close not working
View Single Post
 
Old 10-14-2018, 06:00 PM
kateabode kateabode is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Sep 2018
Posts: 16
kateabode is on a distinguished road
Default docsrc.close not working

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.
Reply With Quote