Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nermal

Moderator
Original poster
Staff member
Dec 7, 2002
20,595
3,936
New Zealand
I'm writing an Excel app with VBA code, and due to the way I'm working with files, I need to know whether the code is being run on Mac or Windows. How can I tell which OS it's being run on?

Thanks :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.