Alternately, it works when I run the macro inside the Excel file
xlApp.Application.Run "CPayReportTemplate.xlsm!FormatCPay"
I export it from Access into a file with the macro. The macro copies the sheets into a new workbook, non-macro enabled, formats it as desired, and then saves it without the macros.
This is much simpler. However, I'd still like to learn how to run the code from Access.
Adam
__._,_.___
Posted by: runuphillracing@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (11) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar