Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Why does my VBA script no longer work in excel 2007

I have created a calendar with some VBA functions in excel 2003. I have recently updated to excel 2007 but I am getting errors when trying to run my macros. I have provided the calender file. please help me out. Also any kind of site that describes the differences between excel 2003 and excel 2007 Security-Room.xls Security-Room.xls
0
m_travis
Asked:
m_travis
  • 3
  • 2
1 Solution
 
shjacks55Commented:
Macro security settings in Excel 2007? Go to the Office Button and click the Excel Options button. Go to Trust Center --> Trust Center Settings --> Macro Settings. The settings apply to worksheets that are "not in a trusted location." So, you need to set up your trusted locations. You can do that from the same dialog, just choose Trusted Locations in the menu on the left.
0
 
m_travisAuthor Commented:
I have it set up to allow all macros, I think it is more of an issues with the code itself
0
 
Rory ArchibaldCommented:
You have two missing references - check Tools-References in the VBEditor and uncheck the two 'MISSING:' ones.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
m_travisAuthor Commented:
Rorya,

it worked, could you just tell me why that was the issue.
0
 
Rory ArchibaldCommented:
Because whenever you use a function or sub in VBA that is not fully qualified with the library to which it belongs, Excel has to check all the supplied references to see if it comes from one of those libraries. If the references are broken (i.e. MISSING), then an error occurs when it tries to check them.
0
 
m_travisAuthor Commented:
thank you
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now