>Brad,
>
>John is right, you should avoid using single letter variable names as they can conflict with alias names.
>
>The code you posted will error either on the line you indicated if m is a character variable or on the messagebox if m is numeric.
Thanks to everyone who helped with this problem. I was able to make a solution with the information you all provided.
THANKS!!!
Long live the universal thread.
Brad.
He is there and He is not Silent.