Yes! If you can readjust your baking time. If the pan is larger than called for, the cookie bars will be thinner and dry if overcooked. If the pan is smaller, the exact opposite is true, thicker and undercooked if the bake time is not adjusted accordingly.