简体   繁体   中英

Cannot Open VBA code on Excel Mac 2011

I am trying to open VBA code in Excel Mac 2011 that was written with Excel 2010 on a Windows computer.

I can see all modules on my Mac but I only see a blank white window when I click on a module top open it. The file(s) works perfectly under Windows Excel 2010.

Any idea how I can access the modules and the code on the Mac?

I´m having the exact same problem. I´ve noticed that this only happens when you add modules to your project, so what I´ve been doing to get around this problem is writing the code as an object (for example, in Plan1).

This also allows me to edit the code, which for some reason does not happen when I use the modules.

I know this is not the ideal solution, but that´s the way I´ve found to work for now.

Sadly VBA isn't supported in the Mac version of office. At least the 2011 version. I'd try checking out the latest version or running windows in emulation, perhaps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM