Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49948

VBA code to copy selected Cells from one sheet to another without changing the format

$
0
0
I want the VBA script that copies Values from one sheet to another with same format

E.g Copy the Range N21:P35 from Sheet1 to Sheet2 to Range B2:D:36
Copy Range T21:V:35 from Sheet1 to Sheet2 H2:J36
Copy Range N40:P54 from Sheet1 to Sheet2 B41:D55 and so there are multiple such data and multiple range, Number of cells in Range is same for all.
However I do not want the unwanted cells to be copied,

Viewing all articles
Browse latest Browse all 49948

Trending Articles