![]() |
|
#2
|
|||
|
|||
|
Please explain what you mean by "when I launch a document without the VBA template it does not have the functionality I desire."
You may find it helpful to read this article first: What is the relationship between a Microsoft Word document and its template? | ShaunaKelly.com Please also explain your process of using the template. Typically, templates are stored in either the User Templates folder or the Workgroup Templates folder and accessed from File | New. There is no need to use FSO to check if a file exists as VBA has a function for that. Just add the following into your project Code:
Public Function FileExists(fullPath As String) As Boolean On Error GoTo NoFile FileExists = (Dir(fullPath, vbNormal) <> "") Exit Function NoFile: FileExists = False End Function |
| Tags |
| template, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open my default template when right click within a folder to create a new Word document | LaPlume | Word | 0 | 07-30-2023 02:38 PM |
| WORD Functionality works slowly | mohsen.amiri | Word | 1 | 03-13-2023 02:51 AM |
how to create a box in word document that takes a password to open an access field
|
kawtharz | Word VBA | 2 | 08-13-2015 12:43 AM |
Text Box with Word Functionality?
|
elmousa68 | Word VBA | 3 | 01-09-2014 01:55 AM |