View Single Post
 
Old 10-31-2018, 09:30 AM
VBorNotVB VBorNotVB is offline Mac OS X Office 2016 for Mac
Novice
 
Join Date: Oct 2018
Location: Southern California
Posts: 25
VBorNotVB is on a distinguished road
Default Word 2019 for Mac's VB Doesn't Recognize Paths

I was forced to upgrade to Mac OS X High Sierra which forced me to switch from MSO 2011 to MSO 2019 for compatibility. Now all my macros that have file paths in them generate an error (see attachment) for following example:
Code:
Documents.Open FileName:="Macintosh HD:Users:DariusMacPro:Documents:Word:Forms:Labels:Labels.doc"
Rewriting above example works intermittently.
Code:
chdir "Macintosh HD:Users:DariusMacPro:Documents:Word:Forms:Labels"
Documents.Open FileName:="Labels.doc"
All help is appreciated!
Attached Images
File Type: png Screen Shot 2018-10-31 at 9.27.45 AM.png (22.0 KB, 19 views)
Reply With Quote