Hello Macro Veterans,
I am trying to write a macro that filters a worksheet, and then copies over certain columns to another worksheet in the same workbook. I want to assign variables because new columns are frequently added, changing the coordinates of other column titles. As of now, I have the variables working for the filtering part, but I am not sure how to create/apply variables to the part of the code that grabs the column and pastes it into another worksheet. I have placed dotted lines around the part of the code that I am having trouble with. It is currently hard-coded with the U2:U, but variables are necessary for flexibility.
The worksheet i want to copy from is "MOD"
The worksheet i want to copy to is "NO WELCOME OR 30MDL"
Hope someone can help, thank you.
Nick
Bookmarks