acantor Posted March 6, 2022 Report Share Posted March 6, 2022 I use a Word VBA macro for changing the highlight colour to yellow: Sub PaintYellow() Selection.Range.HighlightColorIndex = wdYellow End Sub Is it possible to invoke this code from Macro Express using its "External Script" feature? From MEP Help, I think the solution may be something like this: When I run the Macro Express macro, the text variable %Console% contains this: Quote C:\Users\Alan\AppData\Local\Temp\mxescr9.vbs(1, 1) Microsoft VBScript compilation error: Expected statement Not only do I not understand the error message, I don't even know if I'm on the right track! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.