Solved

Access db and O365

Posted on 2015-02-22
1
159 Views
Last Modified: 2016-02-11
Hi,

I have an access db to I use to collate sales data from a POS system, currently I need to manually run the script below to import the sales figures from a csv file, I would like to add the database to our SharePoint so the reports are available on a dashboard, is it possible to make the script run automatically in O365 ?

Regards,
script.txt
0
Comment
Question by:hellblazeruk
1 Comment
 
LVL 34

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40625055
Access web apps do not support VBA.  You should check but I don't believe that a web app can interact with Word or Excel.

To run this automatically, you can create a macro that runs the code and then closes the database.  It is important to remember to close the database.  Then using Windows task scheduler, you can schedule the application, using the x/ option to execute a specific macro to run daily (or more frequently).  If you have trouble getting Access to run this way, you can create a .bat file and schedule running the .bat file and that can open the Access app.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now