ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy Active Sheet (https://www.excelbanter.com/excel-programming/452472-copy-active-sheet.html)

[email protected]

Copy Active Sheet
 
Could someone assist me with a simple VBA that will copy the activesheet to a sheet called "Input" retaining all formats etc?

Thanks

isabelle

Copy Active Sheet
 
Hi,

ActiveSheet.Range("A1:D4").Copy Sheets("Input").Range("A1")

isabelle

Le 2016-10-25 Ã* 02:12, a écrit :
Could someone assist me with a simple VBA that will copy the activesheet to a sheet called "Input" retaining all formats etc?

Thanks


[email protected]

Copy Active Sheet
 
2016. október 25., kedd 8:12:23 UTC+2 idÅ‘pontban a következÅ‘t Ã*rta:
Could someone assist me with a simple VBA that will copy the activesheet to a sheet called "Input" retaining all formats etc?

Thanks


You can use ActiveSheet.Copy After:=Sheets(1) to clone the entire worksheet.

Gábor

tinhdauhcm1

up cho bạn may mắn


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com