Access VBA Reference Issue - ms-access

I developed an Access Application on 2016. When the used runs it, he gets error and access closes.
But when I remove Excel object reference 16 and add it again, it runs perfectly.
Anyone know the reason?

Related

SSRS OLEDB CSV source not working unless share has full control to Everyone. Excel works on a share with Read Only access though

I have a report that uses a CSV file as a datasource. In Visual Studio, I can point it at the file on a share and it works. When I deploy it to the SSRS server though, it brings back an error:
The Microsoft Access database engine cannot open or write to the file 'forecast.csv'. It is already opened exclusively by another user, or you need permission to view and write its data.
Putting the file onto a share which has Everyone granted Full Control, it works. This is obviously not an acceptable security situation. I am using the following OLEDB connection string:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source="\\server\share\Apps\Folder1\Folder2\DEV\SSRS\Report Foo";Mode=Read;Extended Properties="text;HDR=YES;FMT=CSVDelimited"
Of interest, another report that uses an xls file as data source works on a share that does not have Everyone Full Control access. I initially thought that it was a DFS issue but it is actually that the share needs Everyone to have Full Control. Setting the share to Full Control for the user doesn't work, it has to be Everyone
I have logged this as a bug with Microsoft

How Do I Make Office Application Open In Background

I have a macro that runs in access (office 365) when it is opened. Once the macro runs, the application closes. What i am trying to figure out is if i can have the application run as described without seeing it flash on the screen. I have another application that is triggering the access file to run. So, it is autonomous. Any resources would be most helpful.

ssrs report returns no data and there is no error

I am trying to access report via reporting server in internet explorer.
after i give the credentials and parameters it shows nothing. And it doesn't shows any error.
When i try to access report via website it doesn't shows any data.
I am using shared Data source.and uses stored procedures to get the data from the database
is anyone can tell me why this is happening and how can i solve this problem?
thanks in advance.

VBA Create PDF in background

I'm maintaining a VBA application in Access and a big part of this program is to make PDF's and email. I've already coded to create a PDF with PDF995, but the problem is that it keeps prompting where to save and a bunch of other questions.
Is there any solution that allows me to create PDF's in the background without prompting the user anything? I know where it needs to be saved, I know how it's going to be named, so that's not the problem.
Which Access version are you using?
In Access 2007 and above you can create PDF files out of the box, without stuff like prompting where to save.
Here's an example:
Execute Access 2007 Report and Export that Report to PDF Programmatically?
Note that in Access 2007, you have to install an add-in in order for this to work!
For Access 2003 and below, there's Steven Lebans' ReportToPDF.

Minimize in Access 2007 Macro

I have an Access 2003 project that I am trying to open in Access 2007. The first action I take is a Macro with the action Minimize, followed by executing a module that opens my starting form. This is so the user only see the opening form and not any of the access tables. However when I open the project in Access 2007, the minimize does not work, the tables show. What am I doing wrong?
Two things to try:
Ensure macros are enabled in the trust center (under access options in the main menu) in Access 2007
Ensure your minimize macro is named AutoExec in Access 2003