web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

What would make VBA stop working in Dynamics SL 2011?

(0) ShareShare
ReportReport
Posted on by 280

A customization that is several years old has just stopped working, because it doesn't recognize the VBA function Trim.  What could do this?  In case anyone asks, of course we installed the VBA version of the customization module.  We haven't worked with BSL for years.

*This post is locked for comments

I have the same question (0)
  • Carolyn Kolpien Profile Picture
    on at

    Hi Bev,

    We used to see that error in version 6.5.  At that time, deleting the .kpr and .exd files usually resolved the issue.  You could try and delete the whole C:\Users\username\AppData\Roaming\Microsoft Dynamics SL\APC folder and see if that resolves the issue.

  • Bev Kaufman Profile Picture
    280 on at

    The C:\Users\{username}\AppData\Roaming\Microsoft Dynamics SL\APC directory does not exist, for me or another user that frequently uses SL.

    You don't mention where the .kpr .exd are supposed to reside.  Apparently not in the Application folder.

  • Carolyn Kolpien Profile Picture
    on at

    Hi Bev,

    The .kpr and .exd files are in the APC folder.  Are you using Terminal Server?  If so, then the APC folder will be on the Terminal Server  machine.  

    When you say that the directory does not exist, are you saying that the APC folder isn't there or the entire user folder?

  • Bev Kaufman Profile Picture
    280 on at

    I was not aware that the APC folder was hidden.  Once we found the files and deleted them, the VBA errors went away.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans