Leith,
Thank you for the explanation. That helps me understand what exactly is going on.
I have been programming in VBA for about 6-7 years now. Pretty much self taught by picking up things from here and there. After joining this forum I have found I have done a lot of things the hard way. I have used what I understood and worked around that which I did not. I am learning new things everyday from this forum.
Yesterday, I put the "with" statement to use to a greater extent than I have in the past and I wanted to make sure there is no problem with the way I have this code. The program I am working on is a pretty important program in my office and I want to be sure I haven't fouled things up.
My concern was with my Set rletter statement that is buried deep within a With statement. As you can see by Mudraker's post he set up a bit of code similar to mine and ran it. It worked fine on his end and it worked fine on my end. The code I have below is an expansion of Mudraker's code, but I have it set exactly like it is in my program (just a shortened version).
This is the statement I was concerned with
Do you see any problems with this statement? It just had a lot more periods than I am accustom to seeing so I wanted to make sure it is correct and will not cause me a problem later.
Thanks!
Jeff
Bookmarks