Joe4
MrExcel MVP, Junior Admin
- Joined
- Aug 1, 2002
- Messages
- 72,216
- Office Version
- 365
- Platform
- Windows
I found a few threads about posts about running Excel macros from inside Access VBA (like this link: http://support.microsoft.com/kb/177760/ ), but I have a little "twist" to my problem.
My Access application exports an Excel file. However the file needs some formatting done to it (that cannot be done in Access). The twist is that I allow the user to enter the file name of the file that is being created. So when I call this Excel macro to run, I also need to pass it the file name that I want it to run against.
How can I do this?
Thanks.
My Access application exports an Excel file. However the file needs some formatting done to it (that cannot be done in Access). The twist is that I allow the user to enter the file name of the file that is being created. So when I call this Excel macro to run, I also need to pass it the file name that I want it to run against.
How can I do this?
Thanks.