How to create Macros for Material Functions?

Macros are part of blueprints. They have nothing to do with materials.

I remember getting materials and blueprints confused when I first started. They look like each other, but they are not related at all.