How execute an Access Macro with arguments?

Hi everyone,
I need to pass the table name throught arguments but at the moment I can´t do this. How can achieve it?

@balupad14 I’ll really appreciate your support.

Thanks in advance!!!
Regards from PERU!!!

1 Like

Hi @jorge_10 ,

It seems that additional packages aren’t needed to be installed.

Try this:
Use the start process activity.
First argument is the .exe of access. example : “C:\Program Files\Microsoft Office\Office16\MSACCESS.EXE”

Second argument is the database file “”“C:\User\Myself\Path with spaces works\MyDB.accdb”"" + " /x macro_name_here"

Source:

Hope it helps
Best regrds,
Marius

1 Like

Hi @jorge_10 ,

Thank you for using the package. Kindly I request you to send me a sample project with access file.

Thank you
Balamurugan.S

1 Like

Hi @balupad14,

The package are really useful. This is the access file.

PlantillaBBDDConsolidadoAnual.zip (50.3 KB)

I hope you can help me.

Hi @Marius_Puscasu,
I need to pass the name of table throught arguments. I send you the access file. Thanks for your help.

PlantillaBBDDConsolidadoAnual.zip (50.3 KB)

I hope you can help me.

1 Like

Thank you @jorge_10 ,

Let me check and get back to you.

1 Like

Hi @Marius_Puscasu, how can I pass some parameter in an Access Macro using this method?