Avatar of paulo_psa
paulo_psa
Flag for Brazil 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
Editors IDEs

Avatar of undefined
Last Comment
paulo_psa

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Bongos

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
paulo_psa

ASKER
Hi Bongos,

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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck