Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Misc
Macro to Copy / paste from 1 workbook to another
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="David P., post: 3219465"] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Misc
Macro to Copy / paste from 1 workbook to another
Top