Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm using a macro to copy from one workbook to another in the same instance
of Excel. The macro successfully copies the data to the clipboard but does not proceed to paste it in the new workbook. No error screen pops up it just doesn't paste. Your help is appreciated. Here is my current macro code: Sub CopyPasteToNCTthree() ' ' CopyPasteToNCTthree Macro ' Macro recorded 4/20/2009 by _ ' ' Keyboard Shortcut: Ctrl+Shift+M ' Sheets("Installer").Select Range("O2:O8").Select Selection.Copy Workbooks.Open Filename:="C:\Zip Documents\Customers\New Customer Test.xls" Range("O2").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Range("O2:O8").Select With Selection .HorizontalAlignment = xlLeft .VerticalAlignment = xlCenter .WrapText = False .Orientation = 0 .AddIndent = False .IndentLevel = 1 .ShrinkToFit = False .ReadingOrder = xlContext .MergeCells = False End With Range("O8").Select End Sub -- David P. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy workbook to 2nd workbook paste is greyed out | Excel Worksheet Functions | |||
macro to copy and paste into another workbook | Excel Discussion (Misc queries) | |||
Macro to open workbook and copy and paste values in to orig workbo | Excel Worksheet Functions | |||
copy and paste using code from workbook to workbook | Excel Discussion (Misc queries) | |||
I cannot paste from one workbook to another. Copy works, paste do. | Excel Discussion (Misc queries) |