Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Why VBA code not running on GP 2010, Windows 7?

Posted on by Microsoft Employee

I have just installed GP 2010 for a customer with 20 users running Windows 7. Out of this 2 users are not able to get their VBA coding attached to the forms and reports to run. I have already edited the registry as per Knowledge Base 929612. But the problem still exists. Any help is greatly appreciated.

Saras

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Why VBA code not running on GP 2010, Windows 7?

    Thanks Chad.

  • Verified answer
    Chad Anderson Profile Picture
    Chad Anderson 420 on at
    Re: Why VBA code not running on GP 2010, Windows 7?

    We were getting weird error on our Windows 7 machines after a VBA update and Office 2010 install.  A couple of things we did to fix it.  Not sure if they would help but every little bit helps.  

    Our users are set as administrators.  This was an issue before and haven't had a chance to retest to see if they still need to be. 
    Second, we did this fix.  Not sure its part of that KB you mentioned.

    http://blogs.msdn.com/b/developingfordynamicsgp/archive/2010/11/15/file-vba6-dll-not-found.aspx

    The last thing we had to do was go to the following folder of a working computer and copy the VBE6.dll file to the computer that is having the issues.

    C:\Program Files\Common Files\microsoft shared\VBA\VBA6

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans