![]() |
#13
|
||||
|
||||
![]()
If the document is being used as a template then instead of opening the file create a new file from it i.e.
Code:
Set oDoc = objWord.Documents.Add("https://XXXX-my.sharepoint.com/personal/" & UserName & "_XXXX/Documents/_MyProfile/Desktop/Business%20Executive%20Summary%20MASTER.docx?web=1")
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tonia8675309 | Word | 5 | 06-08-2018 04:42 PM |
![]() |
Deirdre Kelly | Word VBA | 23 | 09-07-2017 02:51 PM |
![]() |
michael.fisher5 | Word | 9 | 11-19-2014 06:36 AM |
![]() |
Sammie0Sue | Word | 4 | 03-12-2014 01:43 AM |
![]() |
tinfanide | Word VBA | 8 | 03-04-2013 04:15 AM |