How can I install/use “Scripting.FileSystemObject” in Excel 2010 for MAC?

后端 未结 4 613
孤街浪徒
孤街浪徒 2020-12-04 02:49

I am using Excel for Mac 2011 which has VBA version 14.0.

I am trying to use this code which accesses the file system, which I know

相关标签:
4条回答
  • 2020-12-04 03:18

    Mac doesn't support ActiveX (it's a Windows technology), so you can't create the Scripting.FileSystemObject; it doesn't exist. (Even if it did, it's based on FAT32 or NTFS file systems, so it wouldn't work on OS X anyway.)

    0 讨论(0)
  • 2020-12-04 03:35

    To my knowledge, this approach won't be valid on Mac, as the external library doesnt exist.

    Don't know Office 11 VBA, but the Dir() function works accross platforms for '03.

    0 讨论(0)
  • 2020-12-04 03:37

    What about...? Writing mac compatible file i o code in vba

    0 讨论(0)
  • 2020-12-04 03:39

    If you're just trying to enumerate all the files in a folder, Codematic have a pretty good VBA module which should work fine on the Mac. It's not free, though.

    0 讨论(0)
提交回复
热议问题