excel - Path working on PC but not Mac -
i having problem vba code on mac computer. works fine on windows. know has specifying directory i'm not sure on right syntax.
workbook in folder , want specify folder (datatextfiles) in same folder work book.
'change path dim strpath string dim mydir string mydir = activeworkbook.path strpath = mydir & "/datatextfiles/" dim strextension string 'stop screen flickering application.screenupdating = falsew 'change extension strextension = dir(strpath & "*.txt") cleardata while strextension <> ""
none of y'all right. proper designation folder separator on mac colon ':' such
chdir "kathystringhd:library:webserver:documents:dispatchreports:intime:"
Comments
Post a Comment