Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-14-2018, 06:00 PM
kateabode kateabode is offline docsrc.close not working Windows 7 64bit docsrc.close not working Office 2016
Novice
docsrc.close not working
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform close after use Mikedk64 Excel Programming 3 09-21-2017 02:35 AM
Auto_open & Close gacartwright Excel Programming 0 07-29-2015 03:53 PM
docsrc.close not working Message Box on Close thedeadzeds Word VBA 1 05-10-2013 03:54 PM
docsrc.close not working Close 'downloads' window with VBA CatMan Excel Programming 6 12-14-2012 01:34 PM
Is there an exit on close ? mhdadmh Word 0 10-12-2006 04:28 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft