![]() |
#1
|
|||
|
|||
![]()
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 |
|
![]() |
||||
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 |
![]() |
thedeadzeds | Word VBA | 1 | 05-10-2013 03:54 PM |
![]() |
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 |