Butter Substitutions On the other hand, if your cookie recipe calls for melted butter, vegetable oil can be subbed, because it has a similar consistency.