I am trying to paste part of the first row of cells in a range into a worksheet. The code below keeps giving me an error.
The ws is active, although I am not sure if it needs to be in this case. rngFull was defined earlier in the code as the set of cells a user had selected. stCol is a number. I want the first row, up to stCol (which would be several cells) to be pasted starting at A1 in the ws.
I was thinking that maybe Excel didn't like me pasting several cells that way so I also tried this code and got the same error.![]()
Please Login or Register to view this content.
I'm trying to avoid using the clipboard via copy and paste. I know this should be easy. What am I missing?![]()
Please Login or Register to view this content.
Bookmarks