Solved

Outlook Macro to work with Microsoft Access

Posted on 2015-01-25
4
440 Views
Last Modified: 2015-01-27
Hi,

I've set up a web form that emails the contents of the form to an email address. The recipient of the email receives the form's contents in the form of an html table. The table consists of 2 columns and a variable amount of rows.

I'm in the process of setting up an access database which will contain a number of tables. The names of the columns within the tables will reflect column 1 in the table that is emailed to the recipient. Column 2 in the table that is emailed, is the data for the columns in the database.

The email recipient receives a lot of these emails on a daily basis and will have to manually enter the data from the table in the email into the Access database, probably via a form. As I'm trying to facilitate this process, I was wondering if it's possible to create a macro so that the contents of the table within the email is automatically inserted into the correct tables within the Access database.

If this is possible, I wondered if I could get some advice on how to set this up? Would the emails need to be saved to a specific folder on the computer, then would the Macro need to be created within Access? If yes, is it hard to set this type of Macro up and can the macro be set to check the folder on a regular basis throughout the day so that it's completed automated?

Really appreciate any help.

Thanks in advance.
0
Comment
Question by:gwh2
  • 2
4 Comments
 
LVL 79

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points
ID: 40569170
why don't you just mail a .csv?
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 40569200
To me, this whole system would need to be moved to a completely web based system.
The email recipient receives a lot of these emails on a daily basis and will have to manually enter the data from the table in the email into the Access database, probably via a form. As I'm trying to facilitate this process, I was wondering if it's possible to create a macro so that the contents of the table within the email is automatically inserted into the correct tables within the Access database.
This is a very inefficient way to run a database.
MS tried this with "Email Data Collection" in Access 2010:
https://support.office.com/en-ca/article/Add-the-data-collected-through-emails-to-your-Access-database-89dc12dc-17c6-4251-bec0-689ba00a48e0

...but promptly dropped support for it in Access 2013.
At a very limited level, it worked OK (the rare time you needed a remote user to update data in a database)
...But for:
a lot of these emails on a daily basis
...it is just not practical.

If you need remote users to update your database, ...then look into:
1. MS Access Web databases
2. MS SharePoint
3. Creating a full featured database via vb.net, PHP, or some other similar technology.

jeffCoachman
0
 
LVL 1

Author Comment

by:gwh2
ID: 40569691
Thanks for both replies,

I'll look into all the suggestions and see what I can come up with.

Thanks again
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40574394
Glad I could help.
;-)
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question