MendeleyMacros icon indicating copy to clipboard operation
MendeleyMacros copied to clipboard

Macro doesn't find the bibliography created by Mendeley

Open PanagiotisIliop opened this issue 2 years ago • 3 comments

This code doesn't work for the latest versions of Mendeley.

An error message is presnted :"the bibliography could not be located in the document. make sure that you have inserted the bibliography via the Mendeley's plugin and that the custom configuration of the GAUG_* macros is correct. Cannot continue removing hyperlinks."

Any ideas on how to update the code to work for the latest versions of Mendeley?

PanagiotisIliop avatar Oct 16 '22 19:10 PanagiotisIliop

Dear @PanagiotisIliop,

I have not being able to test the macros with the new version of Mendelay. It is probably this line that should be changed: If sectionField.Type = wdFieldAddin And Trim(sectionField.Code) = "ADDIN Mendeley Bibliography CSL_BIBLIOGRAPHY" Then I assume the name of the ADDIN has changed with the new version of Mendelay.

The easiest way would be to use an older version of Mendelay to avoid the issue as I am not sure when I would be able to correct the code.

Cheers

mabentwickeltsich avatar Oct 21 '22 08:10 mabentwickeltsich

Thanks for the reply, Best wishes!!!

PanagiotisIliop avatar Oct 28 '22 15:10 PanagiotisIliop

@PanagiotisIliop did you manage to overcome the issue? If yes, how?

chadouhoney avatar Oct 28 '23 16:10 chadouhoney