i found autohotkey a little while ago and since i am really suprised what all is possible. I still didn't manage to work with classes, call backs or other advanced methods, but i am happy with what i have accomplished so far.
I am currently trying to automate Excel. And since i don't want to rely on Sending items i try to use COM. So far, so good
![Smile :)](./images/smilies/icon_e_smile.gif)
But now i have an dead-end. I want to implement a custom Undo method (https://docs.microsoft.com/en-us/office/vba/api/excel.application.onundo) but i don't find a way to call my method in my ahk file.
Anyone knows how to pass a pointer to a function which resides in my ahk file and not in a excel macro?
Thank you