I have an Excel table, and a form control (button) which select specific data from the table and copy it into mail. I would like to know how can I select only some columns from the table, not all of the columns?
Please your assistance, Thanks
Here is part of my code:
Sub SendCA_list()
Call FilterCA 'filter the table per specific data
Range("Table4[[#Headers],[Department]]").Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlToRight)).Select 'select all the columns after the column 'department'- how to select only 10 columns?
ActiveWindow.SmallScroll Down:=-129
Selection.Copy