paulo_psa
asked on
Load and Run a Excel Macro
Hi,
I want to load a external text file into a Excel workbook from Delphi then execute this macro also from Delphi.
Is it possible??
regards
Paulo
I want to load a external text file into a Excel workbook from Delphi then execute this macro also from Delphi.
Is it possible??
regards
Paulo
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I forgot to say that I'm using OleVariant instead of TExcelApplication.
Anyway I liked your tip about quering among the VBCompont itens to find the module. I got it, but I can't still trigger the macro. If you know how please let me know and I'll open a new question.