#16
|
||||
|
||||
You need a backslash after WP61
Code:
sPath = "G:\WP61\"
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#17
|
||||
|
||||
If WP61 is a folder then it should be followed by a folder marker to avoid the intended folder name from being included in the file name
Quote:
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia Last edited by Guessed; 10-30-2022 at 01:18 PM. |
#18
|
|||
|
|||
Thanks for the help. It worked!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to save Word file by field name as filename using VBA button? | TribeBuckeyeFan | Word VBA | 4 | 02-02-2017 05:58 AM |
How to save Word file by field name as filename using VBA button? | chemtoli | Word VBA | 5 | 01-25-2017 08:06 AM |
Save and rename attachments from ZIP FILE | AndyDDUK | Outlook | 1 | 03-03-2016 12:32 AM |
Have to rename file every time to save workbook | intelli | Excel | 3 | 03-27-2014 11:53 PM |
Rename Document & Save | d4okeefe | Word VBA | 4 | 05-23-2013 09:35 AM |