Nick, you need to know where macro can be used versus .net expression.
web part properties, rich text area, e-mail templates, Text/XML transformations or HTML page layouts are typically the places.
for the master page layout, you need to double check if you are using ASCX or HTML page layout.