VBA on MAC

mart1n23

New Member
Joined
Oct 14, 2005
Messages
36
Hi everyone,

I'm looking to purchase a copy of Microsoft Office for my MAC, mainly to use Excel with VBA, but i've read that VBA isn't included on 2008. Is that correct? Why not?

Is it included in the old 2004 release, and if so, is it fully functioning?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
It was dropped in Office 2008 for the Mac. Something to do with the timescales for converting the code to work on the lastest Mac system architecture. I believe it will be making a return for the next version.

As for 2004 VBA I've never used a Mac so afraid I'm not sure what the differences are between VBA on the Mac and PC but I'm sure I've read that there are some.

Dom
 
Upvote 0
VBA in Excel 2004 is basically VBA 5, which is what you got with Windows versions of Excel through Excel 97.
 
Upvote 0
Or returning typed arrays from functions. And of course you can't use Windows API calls! :)
 
Upvote 0
And pivot table code is much more convoluted in VB5 as well.
For 2008 you have to use AppleScript.

Denis
 
Upvote 0
For 2008 you have to use AppleScript.

I'm still learning VBA at the moment, I don't want to have to learn AppleScript aswell. lol.

Ideally, I needed it to work cross-platform. I have a PC at work but a MAC at home. Despite the differences, was 2004 able to be used and edited on both platforms? Is the new version likely to be so?
 
Upvote 0
For compatibility, you'd be best off creating the code in the Mac with version 2004. If you don't make any system calls (and if you're getting started you won't), it should run in Windows versions.
I don't know what the next Mac version holds; hopefully an update because Office 2010 is going through a VBA version change as well.

Denis
 
Upvote 0
Denis,
Love the tag line! :)
 
Upvote 0

Forum statistics

Threads
1,225,476
Messages
6,185,197
Members
453,282
Latest member
roger_nz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top