Solved

Access 2007 VBA code for formatting Excel output is not working

Posted on 2013-05-12
5
334 Views
Last Modified: 2013-05-18
I recently had my work computer's hard drive replaced and re imaged. A database, that I backed up, that worked before is no longer working properly. The database would output Excel spreadsheets and then format them. I have not changed the vb code, I have only changed computers.
I have had something similar happen before and the solution was to recreate the db and transfer all (tables, queries, forms, etc) from old to new. This solution has not worked this time around.
I have checked the References of the backed up db verses the new db and see no differences.

Has anyone experienced and resolved something of this sort?
Thanks in advance.
0
Comment
Question by:Kebell9
5 Comments
 
LVL 26

Expert Comment

by:MacroShadow
ID: 39160360
Whats not working? If no code will run, I would check if the database is trusted. See this article.
If you want to do it manually see this.
0
 
LVL 30

Expert Comment

by:hnasr
ID: 39160520
Did not experience such issue.
Try to recreate the issue using a test database, and upload.
0
 
LVL 84
ID: 39161556
Also be sure that the target directory for the Excel spreadsheet is Trusted. I've had issues with that in the past ...
0
 

Accepted Solution

by:
Kebell9 earned 0 total points
ID: 39162764
All, thanks for the suggestions. I inadvertently resolved the issue by doing a repair to MS Office. I only did this because another office app was having issues. In doing so the issue was resolved.

Thanks Again
0
 

Author Closing Comment

by:Kebell9
ID: 39176916
This was an accidental solution, not one of knowledge. However, the solution will be added to my solution db.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This article will show you how to use shortcut menus in the Access run-time environment.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

762 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

20 Experts available now in Live!

Get 1:1 Help Now