I'm glad to hear you got your macro working. However, it's difficult to offer any further advice as to whether there may be an easier way to accomplish whatever it is you would be trying to accomplish by adding a fourth variable without seeing the macro itself and, ideally, the actual results you would be trying to achieve. I suggest reading this post and following its advice if you have any further concrete questions: Tip: How Do I Get The Best Answer in the Shortest Time?