Hi,
I am using the following code to copy over only the visible cells from 1 workbook to another due to the use of a filter.
However, some of these cells have formula so I need to copy over only formats and values as well.
How would i do this?
I am using the following code to copy over only the visible cells from 1 workbook to another due to the use of a filter.
However, some of these cells have formula so I need to copy over only formats and values as well.
How would i do this?
Code:
[/COLOR][COLOR=#333333]wb1.Worksheets(e).Range("A3:AM3000").SpecialCells(xlCellTypeVisible).Copy wb2.Worksheets(e).Range("A1")[/COLOR][COLOR=#333333]