mabentwickeltsich / MendeleyMacros

New functionalities for Mendeley's plugin: hyperlinks for citations pointing to bibliography, hyperlinks for URLs in bibliography, and fix to maintain Microsoft Word style of bibliography.
41 stars 25 forks source link

Executing macros #8

Closed DennyValsamakis closed 5 years ago

DennyValsamakis commented 5 years ago

Hi Jose,

I am trying to use the macro that creates hyperlinks for the iEEE style. However I am being given the following error: image

I have enabled regular expressions 5.5, could you kindly provide some instructions as to how I can fix this?

mabentwickeltsich commented 5 years ago

Dear @DennyValsamakis,

The problem arises because of the missing Microsoft VBScript Regular Expressions 5.5 as described in Issue #4.

Time ago, somebody pointed out that he “[had] ticked the Regular Expression 5.5 option in VBA”, but somehow he was having the compile error. After verification, he found that this may be a project-specific setting and the problem was solved by activating the regular expressions in the document AGAIN. Please, confirm that Microsoft VBScript Regular Expressions 5.5 is indeed activated in the document you want to execute the macros.

Follow the steps in this link if you have doubts: How to Use/Enable (RegExp object) Regular Expression using VBA (MACRO) in word

Cheers Luis

DennyValsamakis commented 5 years ago

Hi @mabentwickeltsich,

I removed the macros, re-added them but this time enabled regular expressions prior to saving and closing Visual Basic Editor. It is now working perfectly. Thank you very much! This is the only place on the web I have found a solution remotely convenient, thanks for all the help!

Kind Regards Denny