Running a Macro in Personal.xls from Access

B

Brent E

Thanks, Ken.

I have another question for you. I am trying to figure out the code to run a
macro stored in the Personal.xls file from an Access module.

I tried the follwing but got an error that Personal.xls can't be found.
Please advise.

Application.Run "PERSONAL.xls!Database_Update_ Files"

Thanks,
 
B

Brent E

This is more of the VBA in context.
Dim objExcel As Object

Set objExcel = CreateObject("Excel.Application")

objExcel.Application.Run "PERSONAL.xls!Database_Update_POLS_PROS_BPIS_Files"

End Function

Thanks,
 
L

leticia

Brent E said:
Thanks, Ken.

I have another question for you. I am trying to figure out the code to run
a
macro stored in the Personal.xls file from an Access module.

I tried the follwing but got an error that Personal.xls can't be found.
Please advise.

Application.Run "PERSONAL.xls!Database_Update_ Files"

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top