Using Excel Macros in Access

G

Guest

Hello. I'm currently using Access VBA to run Excel Macros. This is working
fine, but I think it would work better if I found a way to write ALL of the
code in Access instead of calling the macro from Excel. Does anyone know if
this is possible to write code in Access that formats an Excel spreadsheet?

Thanks!
 
G

Guest

Hi, thanks for the response.

I have already written Access code that runs the Excel macro. Do you have
any suggestions on what I should do with the Excel code if I want to move it
over to Access? I'm not sure what's the best way to attack this.
 
G

Guest

After you've done what Alex suggests below, you should just be able to copy
your macro text over into the Access code window. Just open your file stream
to excel and have fun!
 
G

Guest

Ok thanks everyone, works like a charm.

Lorenda said:
After you've done what Alex suggests below, you should just be able to copy
your macro text over into the Access code window. Just open your file stream
to excel and have fun!
 

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