Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-14-2018, 06:34 PM
Guessed's Avatar
Guessed Guessed is offline docsrc.close not working Windows 10 docsrc.close not working Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Get rid of the With and End With. It should just read as
Code:
DocSrc.Close SaveChanges:=False
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
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 05:03 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