Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all;
I hope someone has done this already. I want to copy the contents of a master file into the contents of an old workbook. I want to copy the entire worksheet, formulas formatting and all. I recorded this macro: <-- Sub Copy() Windows("BlankQuote.xls").Activate Cells.Select Selection.Copy Windows("Q12345678.xls").Activate Cells.Select Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False End Sub -- It works great accept I need to reference workbook Q12345678.xls as thisWorkbook. This workbook is the older workbook that I would like to update the worksheet on if a client calls back. The other workbook will always be BlankQuote.xls. This workbook will be kept up to date at all times. Can anyone help me with this please? Thank you. God Bless Frank Pytel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy worksheet into current workbook | Excel Discussion (Misc queries) | |||
Macro to copy current worksheet to pre-defined wookbook | Excel Programming | |||
Macro to copy active worksheet to new workbook | Excel Discussion (Misc queries) | |||
copy csv worksheet to xls book using vba/vbs | Excel Programming | |||
Copy a range of cells in an unopened workbook and paste it to the current workbook | Excel Programming |