Run .accde with Outlook

KeythStone

New Member
Joined
Mar 30, 2011
Messages
36
Hello to All,

I am trying to set Outlook to run an application once an email comes in and so far the issue is Outlook can't recognize my executable files. I tried saving my access database to .accde but to no avail. Is there something else I need to do?

Also, reading online I noticed some chatter about SP1 needing to be installed but I don't believe that's my issue. Thanks for your consideration,
KeythStone
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
maybe you could pass it the path to access exe and pass the mdb as a parameter

"C:\Program Files (x86)\Microsoft Office\OFFICE11\msaccess.exe" "C:\Users\jamesl\Documents\db1.mdb"
 
Upvote 0
So an update,

I'm able to open my .accde file with outlook no problem. The issue now is that I cannot run my macros which were coded in the original .accdb. So is this the problem I keep hearing online about compiled files dropping the code? And do I need to re-write the code/make new macros in the .accde version?

Basically, once an email comes in I can AutoExec to begin the macro running process but I receive a message, "the expression entered has a function name that MS access can't find."

Any thoughts?

I believe this thread has just become an access topic.

KeythStone
 
Upvote 0
You must be using either 2007 or 2010 (you made reference to .accdb). Are you using XP or Windows 7?
Can you explain exactly what the macro will be doing?
 
Upvote 0
So an update,

I'm able to open my .accde file with outlook no problem. The issue now is that I cannot run my macros which were coded in the original .accdb. So is this the problem I keep hearing online about compiled files dropping the code? And do I need to re-write the code/make new macros in the .accde version?

Basically, once an email comes in I can AutoExec to begin the macro running process but I receive a message, "the expression entered has a function name that MS access can't find."

Any thoughts?

I believe this thread has just become an access topic.

KeythStone

Make sure that the procedure is a FUNCTION and not a SUB.
 
Upvote 0
Thanks,

To Derek: Using Windows XP, Access 2007.
The Macro will run a series of modules (converted macros) which publish reports driven by a query. I had to convert macros to VBA in order to 'date stamp' the output to file name. My next task is to have an email kick off the whole process. I converted my accdb to accde in order to have an executable file to work with. Outlook will open the file but when I AutoExec to run a macro it comes back with the aforementioned message...no function found.

Bob: I looked at the original .accdb version and it says procedures are as function.

Thanks again,
KeythStone
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,904
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top