That code does work, so... Its not working the way you expected.
Maybe we should have a look @ what you’re doing. I think what you might be getting hung-up on is the Range.Offset Property (Excel).
So if we look @ this over simplified example:
We can see how the .Offset Property works. I.E. .Offset(Row, Column).Activate
What am I saying: it looks like from the code you provided you want to copy data from Col B of some row to H. Well like I said your code does that, & if you’re not see the result you want there is no data in ColB to copy over to H & thats why it looks to you as if nothing is happening, but non the less it is working.
What I do to make sure what I want is happening is I might add a select just while testing like this:
Now you see what range you are pointing to. Once you get that worked out now you can replace .select with the .copy Method
Bookmarks