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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Transfer Contents of a Macro File to Another Macro File

(0) ShareShare
ReportReport
Posted on by

How do I copy the Contents of a Macro File to Another Macro File?

I have a working Macro file and another one which errors out (Macro command not found. (Line #1)). Is it possible top all transactions related information from the non-working file to the working file?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    Yes, you can edit the files in Notepad or any other text editor, then copy/paste the portions you are interested in, from the non-working macro, to the working macro. You need to be aware of the segments of macro code you will be copying over to make sure they are inserted in the same section as the transactions that work in the working macro.

  • Community Member Profile Picture
    on at

    Thanks Mariano but it was already tried before I posted my questions.

    After copying and pasting contents, when I save the file, the first two lines of the Macro are removed automatically.

  • MG-16101311-0 Profile Picture
    26,225 on at

    Can you use rich formatting and the code block to paste your two macros? The one that works and the one that doesn't?

  • Community Member Profile Picture
    on at

    They are 400+ pages for each macro, would you like me to copy just the top few lines?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans