Hacker News new | ask | show | jobs
by dartos 952 days ago
Can you call os level functions from an excel macro?

Can you access raw memory from it?

If the answer to either of those is no, then that’s a big difference.

4 comments

You can call any native or COM function from VBA, the only real limitation is that it's strictly single-threaded(-ish).
Yes you can. VBA can make the same Win32 API calls as VB6. Something I exploited back in the tail end of the 90s.
COM/OLE. Old as hell. Macro viruses in Office/Outlook has been a shitfest since late 90's.
You can call Windows API functions from VBA.