Solved

Access 2007 VBA code for formatting Excel output is not working

Posted on 2013-05-12
5
336 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 27

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 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