Thanks MarvinP -
I totally missed that.
My goal was not to copy everything that might be in that row from A-XFD,
but to make the Columns range more dynamic by looking “xlToRight”, to find the last data column in that particular “found cell” row.
Thanks AB33 -
In this format, “Resize” works only as a static range. If this could be made dynamic, then my problem is solved.
I’ve had success using this code as a stand alone test:
Unfortunately, I was unable to incorporate it into the ” Do Loop”.
Here are four permutations that I attempted and the resulting errors thrown:
At issue, I believe, it the Object Variable “rFoundCell” and possibly how “ActiveCell” is used in this case. Whether that be its assigned value, returned value or whatever. I don’t have that deep of an understanding of VBA intricacies to debug this problem.
What mm I missing here?
Any ideas?
Thanks--
Mark
Bookmarks