RBC interview question

an example where you used macro vba