Setup


Open Word and go to Options.



Customize Ribbon and check the Developer Tab.



Go in to the Developer Tab and then Visual Basic.



Right click the Normal node, and Import File.



You need to import one of our Letter macros. These are stored on \\YOUR_MEDILINK_SERVER\MEDILINK\LETTERS. Historically we had different macros work better in some environments than others. I had success with ConvertLetterVB2.BAS in Office 2019 (Build 1904) on Windows 10 Pro. If issues you can try others macros.



Save Normal and close Visual Basic editor.



Open up Options again and customize the Quick Access Toolbar. Choose Macros from the drop-down on the top left, choose the macro you imported, then click Add. You can optionally Modify it’s appearance (the smiley face has been traditionally used).



Back in to Options and then Trust Center.



You need to Enable All Macros (it’s not a digitally signed macro unfortunately).



Then go to Trusted Locations. Tick on Allow Trusted Locations on my network. Add the Medilink server Letters path as a trusted location, i.e. \\YOUR_MEDILINK_SERVER\MEDILINK\LETTERS. Also tick the subfolder option.




Open Medilink and go in to File Menu -> General Options. You want to have the Macro Letters option on, and Extra Fields disabled. In some earlier versions of Medilink these may have been labelled differently (basically disable the newer non-macro/interop version of Medilink letters).



Create Letter


Search for a patient and click Letters and then New.



Choose a template, i.e. A = MAINA.DOC.



This will open Word. Click the smiley face macro (or go in to Developer -> Macros or press ALT+F8, and choose and run the one you want).



You will see things pop-up etc. Give it a few seconds. Your letter will come up afterwards.


Troubleshooting


As mentioned above, you may have to try different macros. Follow the Setup instructions but choose a different one (and/or add in all of them and just try from the Macros list when creating).


You might get a pop-up about an SQL command, click Yes to continue.



You might get a pop-up about a missing field. This is because the macro fields are limited so this data doesn’t exist (doesn’t come across to the letter). Ignore it and click OK. You can modify your MAINx.DOC file to remove this field if necessary.



You get the following error: Word cannot start the converter mswrd632.wpc


Run the attached WordConversionFix.reg file (it is also locally stored, C:\medilink32bnt\bin\WordConversionFix.reg ).


All else fails, remember that this is a deprecated module for a reason. You should try the New Medilink Letters, i.e. integrated/interop letters.