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.
Related
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?
We use a number of update reports that reference phone call activities amongst other data. One field that is shown in the report is the subject line of the Phone Call which automatically creates a hyper link to the Phone Call being referenced.
When the report is run using the web interface, regardless of browser, the link opens the Phone Call without an issue. However when opened from the Outlook plugin a new browser window is opened and the user is required to log in, which can make working through a report tedious.
I am aware that one solution would be to always run reports from a browser, or leaving the new browser window opened by Outlook open, as any subsequent links are opened in the same browser which is already "logged in". However, is there a way to remove the requirement for the first log in entirely? Could the link created in the Report have to log in credentials embedded so to speak?
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.
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
I have an old Access 2000 app (I don't do much Access dev these days) that a client is trying to run in Access 2007. It runs fine for the most part, except the forms do not behave as-designed when they are called/instantiated, etc: Access 2007 puts every new form inside a "Tab" of sorts, which is causing confusion on the part of the end user (modal forms they can't "tab out of," etc., seems to be the kind of thing they are mentioning).
It was designed as a typical MDI app, and ran fine that way for years. Is there a way to override Access 2007 "taking over" the forms handling?
Yes. Set Document Window Options to Overlapping Windows, then save the database (which should persist it to subsequent runs).
From here:
By default, Microsoft Office Access
2007 databases display as tabbed
documents. To use windowed documents,
click the Microsoft Office Button
Button image, and then click Access
Options. In the Access Options dialog
box, click Current Database and, under
Document Window Options, click
Overlapping Windows.
More information about transitioning to Access 2007 here as well.