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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -