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 AX (Archived)

Atlas and VBA

(0) ShareShare
ReportReport
Posted on by 55

Can you pull data directly from Atlas 3.5 for AX 4.0 by using VBA excel macros? So rather than having to log into Atas excel, you can login into Atlas and pull data from standard excel. If you can, can someone provide examples of VBA code? Thanks

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello.

    Can you elaborate a little more on what you want to achieve.

    If you set the workbook calculation method to Manual then Atlas will not attempt to refresh any results - so your vba can pick up what it needs from the sheet.

    Thanks

    Steve

  • wilson01 Profile Picture
    55 on at

    Hi Steve

    Well back in my old AS400 days I could write VBA code that basically brought up various dialog boxes that allowed the user to input their USER ID and password plus any selection criteria to pull data. This meant that the user did not have to log into the application itself but just do it all from excel. Could I do something similar with Atlas? Thanks

  • Suggested answer
    Community Member Profile Picture
    on at

    Atlas xl 3.5 has been deve;p[ed using VBA and so most of the functionality is callable.    

    Below is an example showing how to login via a formula (instead of the popup form)  but I suggest you email helpdesk@globesoftware.com.au and request the full VBA automation documentation and sample code.

    Regards

    Steve

    Public Function AxLogon(UserId as String, Password as String, Config as String) As Boolean

    This method is a wrapper for DoAxaptaLogon. It can be called from the Atlas object.

    Syntax:

    Dim bReturn as Boolean

    bReturn = AxLogon(UserID,Password,Config)

    Parameters

    UserId – this is a valid Dynamics AX User login.

    Password - this is the password for the user

    Config – this is the config to log into.

    Return value: Boolean. True if login was successful.

  • wilson01 Profile Picture
    55 on at

    OK. Many thanks Steve.

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans