Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi if i run this macro,he copies the 2 spreadsheets as i want, but i
want the 2 copied sheets in the same workbook!! can i do this??? If ActiveWorkbook.Worksheets("sheet1").Range("A1") = ActiveWorkbook.Worksheets("sheet2").Range("A1") Then ActiveWorkbook.Worksheets("sheet1").Copy Cells.Copy Cells.PasteSpecial xlPasteValues Cells(1).Select Application.CutCopyMode = False ActiveWorkbook.Worksheets("sheet2").Copy Cells.Copy Cells.PasteSpecial xlPasteValues Cells(1).Select Application.CutCopyMode = False End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to copy a spreadsheet in shared workbook | Excel Worksheet Functions | |||
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook | Excel Worksheet Functions | |||
Macro to copy and append spreadsheet changes to new spreadsheet | Excel Discussion (Misc queries) | |||
please help, need to copy row to separate spreadsheet in workbook | Excel Worksheet Functions | |||
Copy sheet from one workbook to another workbook problem | Excel Programming |