I have a VBA macro which filters a table, copies certain columns, and pastes the data into another sheet (one by one)
I am pasting using:
ActiveSheet.Paste
The above works fine to paste the filtered data. But I only want to paste special values so that I do not lose the cell fomatting in the target table.
I tried using
ActiveSheet.PasteSpecial Paste = xlPasteValues
But this returns an error.
Any ideas?
Thanks
Bookmarks