Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I'm stuck with my code to copy a range of cells and insert into new worksheet with the name of the old worksheet. Also, I want to keep the format of the original range of cells but not sure how to do so. Can anyone help. Thanks,Moon Sub Format_All_Worksheets() Dim sh As Worksheet Dim Newsh As Worksheet For Each sh In ThisWorkbook.Worksheets Set Newsh = ThisWorkbook.Worksheets.Add With sh.Range("A19:G89") sh.Range("A19:G89").Cut Newsh.Cells Newsh.Name = sh.Name End With Next sh End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy & paste worksheet with print settings into new worksheet | Excel Discussion (Misc queries) | |||
Copy range from one worksheet and paste to multiple worksheets | Excel Discussion (Misc queries) | |||
copy range and paste into every 3rd cell of new range | New Users to Excel | |||
Copy and Paste a Worksheet Range to Email Body | Excel Programming | |||
excel 97: copy and paste values from one worksheet to another worksheet | Excel Programming |