The dialog "Insert symbol" has a button at it's bottom named... eh "Сочетание клавиш" in the Russian version. Just press this button. You don't need any Visual basic skill at all. Select the symbol, press the button, hold Ctrl or Alt and press any key that you like (the apostrophe, for example), press "Assign" and use the key combination when you want to enter the accent.