Nuacht

In the macro editor/VBA window, go to Tools -> References and see if there's a checkmark next to "Visual Basic for Applications".