Microsoft Dynamics GP Macros: Recording A Macro

Microsoft Dynamics GPIn this series I am taking a look at how macros can be used to update data in Microsoft Dynamics GP.

Recording a macro is a fairly simple task, but I strongly recommend knowing the exact series of steps to be recorded, before starting to record the macro. I usually take a couple of practise runs before hitting record.

One of the common uses of macros for clients is to reset passwords when upgrading Microsoft Dynamics GP; due to versions of Windows and SQL Server supported by Dynamics GP, new servers are involved so these have different names (and the server name is used during encrypting the passwords.

So, in this series of posts, I am going to use resetting passwords as the example.

Macros are capable of opening and closing windows, but when resetting passwords this isn’t necessary so, before starting to record the macro, open the User Setup window (Administration >> Setup >> System >> User).

To record this macro, I am going to perform the following steps:

  1. Type a User ID.
  2. Type a new Password.
  3. Repeat this password in the Confirm Password field.
  4. Click Save.

To start recording the macro, click the Tools button on the action pane, then expand the Macro menu and click Record…:

User Setup

Navigate to the location where the macro file is to be saved, enter a File name (it is best to enter the .mac as Dynamics GP will not add it for you) and click Save; from this point until the record is stopped, every action is recorded, including any missteps you might make.

I have typed the first User ID and then entered new password values:

Click Save to save the changes and then click the Tools button on the action pane, then expand the Macro menu and click Stop Record:

With the one user password changed and saved as a template we can use this template to update other the other user accounts; I will show how this can be done over the subsequent posts.

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Looking for support or consultancy with Microsoft Dynamics GP?

I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.

3 thoughts on “Microsoft Dynamics GP Macros: Recording A Macro

Leave a Reply

Your email address will not be published. Required fields are marked *