Who wants easy points? I am trying to set a range of columns from one sheet to another using variables. startm
will always be an integer. I know I can do something like this or this but I hate offset
XD Is there a "smarter" way besides concatenating a million "s and "&"s??
For Each s In thisWB.Worksheets
...
With ws
.Columns(3:14-startm+1)=s.columns(startm:14) 'this don't work ;_;
As requested, I would use:
Since you are working with column numbers instead of letters, the best approach here is a
for
loop:I didn't reverse engineer your startm +/- stuff here on backhalf of that
.columns()...
line, but this should do what you need after filling in that blank.You could try something like this:
But without certain limitations, it could be slow