Macro Logging to Report Macro Issues

July 14, 2018

If a macro results in an error or doesn't do what you expect it to do, you can now collect logs and send them to our support e-mail address for investigation.

Collecting Macro Logs

To collect macro logs, click on Settings > Enable Macro Logging.

Enable Macro Logging button

This will display the Macro Logging dialog box:

Macro Logging dialog box

Keep this dialog box open and then run the macro you are having issues with to reproduce the problem. When you execute a macro while the Macro Logging dialog is open, it will automatically collect logs from the macro.

Once you are done with the macro button will become enabled. Make sure to close all error messages or dialog boxes that the macro displays before saving logs.

Log Contents

Macro logging will collect enough information to reproduce the issues. This includes contents of the pages or sections in OneNote that the macro worked on. For instance if you used Search & Replace macro in a section, the macro will have to read the contents of all pages in the section and logs will contain all that content. Keep that in mind when sending these logs to avoid sending sensitive or private information.

When you click on it will display a summary of what data it have collected:

Macro Logging info dialog

Sending Logs

After saving the logs to your computer, send it as an attachment to Explain what you expected the macro to do and what you got instead.


DadsHomeKids - 2018-11-01
Yes!  How embarrassing, I should have tried that right away.  Interestingly (you probably already know this), it fixes it for the macros which are already downloaded.  If you then download another, once again it is "Other", but if I restart again, that latest one is also correctly recategorized.  Since I tend to restart OneNote at least every day and sometimes more often, this is good enough for me.  Thanks!
Omer Atay - 2018-10-31
DadsHomeKids: Does restarting OneNote fix the issue?
DadsHomeKids - 2018-10-31
This is a great feature for logging issues during a macro. But the problem I'm having isn't running a macro, it's during installation, hoping some user can help. Since I upgraded to 3.13.1 (32 bit), any macro I download ends up in the "Other" category - that is, it's under a button on my ribbon which says Other.  Until now the macros were under a button labelled with the category associated with them.  (Already installed macros stayed where they were).  Has anyone see this and/or have a fix? Thanks.

Other Posts

Show all posts